From 60e99779d5658841026acb84483a7deeb6851246 Mon Sep 17 00:00:00 2001 From: Markus Prinz Date: Sat, 3 Oct 2009 19:48:29 +0200 Subject: [PATCH] Make "-" an alias for "cd -" (cd back to previous directory) --- lib/aliases.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/aliases.zsh b/lib/aliases.zsh index cd17781a..6f6c614f 100644 --- a/lib/aliases.zsh +++ b/lib/aliases.zsh @@ -8,6 +8,7 @@ alias ss='thin --stats "/thin/stats" start' alias mr='mate CHANGELOG app config db lib public script spec test' alias .='pwd' alias ...='cd ../..' +alias -- -='cd -' alias _='sudo' alias ss='sudo su -'