1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 18:38:00 +00:00

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