diff zshrc @ 29:8d30bd0d3a50

provide a shortcut alias for pushd
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 24 Aug 2012 06:30:28 +0200
parents ee88f708d3ce
children 2f93381e4ed8
line wrap: on
line diff
--- 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=