]> git.r.bdr.sh - rbdr/dotfiles/blob - zsh/modules/directory.zsh
Use new email config
[rbdr/dotfiles] / zsh / modules / directory.zsh
1 #
2 # Sets directory options and defines directory aliases.
3 #
4 # Authors:
5 # James Cox <james@imaj.es>
6 # Sorin Ionescu <sorin.ionescu@gmail.com>
7 #
8
9 #
10 # Options
11 #
12
13 setopt AUTO_CD # Auto changes to a directory without typing cd.
14 setopt AUTO_PUSHD # Push the old directory onto the stack on cd.
15 setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
16 setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
17 setopt PUSHD_TO_HOME # Push to home directory when no argument is given.
18 setopt CDABLE_VARS # Change directory to a path stored in a variable.
19 setopt AUTO_NAME_DIRS # Auto add variable-stored paths to ~ list.
20 setopt MULTIOS # Write to multiple descriptors.
21 setopt EXTENDED_GLOB # Use extended globbing syntax.
22 unsetopt CLOBBER # Do not overwrite existing files with > and >>.
23 # Use >! and >>! to bypass.