2011-10-11 04:16:06 +02:00
|
|
|
setopt AUTO_CD # Auto cd to a directory without typing cd.
|
|
|
|
setopt AUTO_PUSHD # Push the old directory onto the stack on cd.
|
|
|
|
setopt PUSHD_IGNORE_DUPS # Don't store duplicates in the stack.
|
|
|
|
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
|
|
|
|
setopt PUSHD_TO_HOME # Push to home directory when no argument is given.
|
|
|
|
setopt CDABLE_VARS # Change directory to a path stored in a variable.
|
|
|
|
setopt AUTO_NAME_DIRS # Auto add variable-stored paths to ~ list.
|
|
|
|
setopt MULTIOS # Write to multiple descriptors.
|
|
|
|
setopt EXTENDED_GLOB # Use extended globbing syntax.
|
|
|
|
unsetopt CLOBBER # Don't overwrite existing files with > and >>.
|
2011-07-28 22:28:11 +02:00
|
|
|
# Use >! and >>! to bypass.
|
2009-09-22 17:39:53 +02:00
|
|
|
|
2012-01-21 02:17:12 +01:00
|
|
|
# Aliases
|
|
|
|
for index in {1..9}; do
|
|
|
|
alias "$index"="cd +${index}"
|
|
|
|
done
|
|
|
|
unset index
|
2009-09-22 17:39:53 +02:00
|
|
|
|