# HG changeset patch # User Dirk Olmes # Date 1345782628 -7200 # Node ID 8d30bd0d3a5093292b62e98362e0692e4e7a29b4 # Parent 8f29a32fcdcb89bb8c1612ac31c946383cda4c13 provide a shortcut alias for pushd diff -r 8f29a32fcdcb -r 8d30bd0d3a50 zshrc --- a/zshrc Fri Jun 22 06:55:48 2012 +0200 +++ b/zshrc Fri Aug 24 06:30:28 2012 +0200 @@ -18,12 +18,13 @@ unalias lsa fi -# custom function that should work on all platforms +# custom functions/aliases that should work on all platforms cd() { builtin cd "$@"; print -D $PWD; } ff() { find $2 -print0 | xargs -0 grep $1 } hgrep() { history | grep $* } mcd() { mkdir $1; cd $1 } psg() { ps auxww | grep -v grep | grep -i "$@" } +alias pd=pushd # no history handling for now ... or find a better way to save history per shell not across all shells export HISTFILE=