Mercurial > hg > zsh-env
changeset 81:a574c668b799
Automated merge with https://xanthippe.duckdns.org/hg/zsh-env
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 26 Aug 2015 10:11:39 +0200 |
parents | 60c4b60b2945 (diff) fbf374902161 (current diff) |
children | 0caebb6fae8d |
files | |
diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/zshrc Wed Aug 26 10:11:27 2015 +0200 +++ b/zshrc Wed Aug 26 10:11:39 2015 +0200 @@ -28,6 +28,7 @@ # custom functions/aliases that should work on all platforms cd() { builtin cd "$@"; print -D $PWD; } ff() { find $2 -print0 | xargs -0 grep $1 } +gve() { grep -ve '^#' $1 | uniq | less } hgrep() { history | grep $* } mcd() { mkdir $1; cd $1 } psg() { ps auxww | grep -v grep | grep -i "$@" } @@ -39,7 +40,7 @@ # no history handling for now ... or find a better way to save history per shell not across all shells export HISTFILE= -export HISTSIZE=100 +export HISTSIZE=500 # emulate tcsh's behaviour for forked processes: do not warn, do not kill when shell is closed setopt nohup