From fcd79d9009aacce25fe65143235687668c768740 Mon Sep 17 00:00:00 2001 From: Jason Benterou Date: Mon, 3 Jun 2013 12:04:52 -0700 Subject: [PATCH] Switch to cd / pd / vd --- plugins/available/superstack.plugin.bash | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/plugins/available/superstack.plugin.bash b/plugins/available/superstack.plugin.bash index 4a58bb10..faa9c4ff 100644 --- a/plugins/available/superstack.plugin.bash +++ b/plugins/available/superstack.plugin.bash @@ -1,11 +1,16 @@ # cd becomes pushd # -# Add to stack with: cd /path/to/directory -# Delete current dir from stack with: popd -# Show stack with: dirs +# cd : Push directory to stack and change directory +# ex $ cd /path/to/directory +# +# pd : Pop directory off stack and change to previous directory +# ex $ pd +# +# vd : View directory stack cite about-plugin about-plugin 'always use pushd - cd becomes pushd' alias cd='pushd' -alias dirs='dirs -v' +alias pd='popd' +alias vd='dirs -v'