changeset 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 8f29a32fcdcb
children c58e6033e2cb
files zshrc
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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=