diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-02-16 14:40:26 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-02-16 14:40:26 +0100 |
| commit | fa25023586cb94a1abf4fd3ff95ebe7c3c8ead09 (patch) | |
| tree | 87404d2a291facd6d7fd567fe251bc1c12f688c8 /zsh/modules/directory.zsh | |
| parent | f6272d88eae76c8553f237f3f318c4a97997f262 (diff) | |
Remove prezto
Diffstat (limited to 'zsh/modules/directory.zsh')
| -rw-r--r-- | zsh/modules/directory.zsh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/zsh/modules/directory.zsh b/zsh/modules/directory.zsh new file mode 100644 index 0000000..98a86f4 --- /dev/null +++ b/zsh/modules/directory.zsh @@ -0,0 +1,23 @@ +# +# Sets directory options and defines directory aliases. +# +# Authors: +# James Cox <james@imaj.es> +# Sorin Ionescu <sorin.ionescu@gmail.com> +# + +# +# Options +# + +setopt AUTO_CD # Auto changes to a directory without typing cd. +setopt AUTO_PUSHD # Push the old directory onto the stack on cd. +setopt PUSHD_IGNORE_DUPS # Do not 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 # Do not overwrite existing files with > and >>. + # Use >! and >>! to bypass. |