Add an alias to dirs

This commit is contained in:
Sorin Ionescu 2012-04-08 18:38:46 -04:00
parent dc7c51434a
commit 035fd8e7ed

View file

@ -19,5 +19,6 @@ unsetopt CLOBBER # Don't overwrite existing files with > and >>.
# Use >! and >>! to bypass. # Use >! and >>! to bypass.
# Aliases # Aliases
alias d='dirs -v'
for index ({1..9}) alias "$index"="cd +${index}"; unset index for index ({1..9}) alias "$index"="cd +${index}"; unset index