diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-14 02:30:44 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-14 02:30:44 +0900 |
| commit | 55538fe0f5d9258a544204e63bc644430cf57c57 (patch) | |
| tree | f1246b18718f9f939dc5f18dc062a67d6b9ff51d /.zshrc | |
| parent | 38afe2c6108cfad76375990c9d0ccf26c133f294 (diff) | |
| download | dotfiles-55538fe0f5d9258a544204e63bc644430cf57c57.tar.gz dotfiles-55538fe0f5d9258a544204e63bc644430cf57c57.tar.zst dotfiles-55538fe0f5d9258a544204e63bc644430cf57c57.zip | |
zsh: disable some cd-related options, AUTO_CD, CDABLE_VARS, PUSHD_TO_HOME and AUTO_NAME_DIRS
Diffstat (limited to '.zshrc')
| -rw-r--r-- | .zshrc | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -24,15 +24,9 @@ export BAT_THEME=base16 ######################## -# If a command named "xxx" does not exist, try to execute "cd xxx". -setopt AUTO_CD - # Do "pushd ." after "cd". setopt AUTO_PUSHD -# If "directory" is not found, regard "directory" as "$directory". (for named directory, e.g, $HOME) -setopt CDABLE_VARS - # If "/foo/bar" is a link to "/hoge/piyo", "/foo/bar/.." means "/foo", not "/hoge". setopt NO_CHASE_LINKS @@ -42,9 +36,6 @@ setopt PUSHD_IGNORE_DUPS # Make "pushd" and 'popd' not to print the directory stack. setopt PUSHD_SILENT -# Regard "pushd" without any arguments as "pushd $HOME" ("cd" compatible). -setopt PUSHD_TO_HOME - ############## @@ -54,9 +45,6 @@ setopt PUSHD_TO_HOME # The completion has finished, the cursor is moved to the end of the word. setopt ALWAYS_TO_END -# Expand "~xxx" to "$xxx". E.g., "cd ~HOME" is expanded to "cd $HOME". -setopt AUTO_NAME_DIRS - # Do not expand glob patterns, instead, complete matched words. setopt GLOB_COMPLETE |
