From e121743d8ab0211e95704200aeb4843ecfe8614f Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 5 Jun 2025 11:45:47 +0200 Subject: [PATCH] zsh:options: Disable CDABLE_VARS It annoys me too often (I always see the named directories in the completion menu and had problems with files/folders with the same name). --- .config/zsh/zshrc.d/10-options.zsh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.config/zsh/zshrc.d/10-options.zsh b/.config/zsh/zshrc.d/10-options.zsh index 66d94f0..1a518ea 100644 --- a/.config/zsh/zshrc.d/10-options.zsh +++ b/.config/zsh/zshrc.d/10-options.zsh @@ -8,12 +8,6 @@ # Make cd push the old directory onto the directory stack. setopt AUTO_PUSHD - # If the argument to a cd command (or an implied cd with the AUTO_CD option - # set) is not a directory, and does not begin with a slash, try to expand - # the expression as if it were preceded by a `~' (see the section `Filename - # Expansion'). - setopt CDABLE_VARS - # Resolve symbolic links to their true values when changing directory. This # also has the effect of CHASE_DOTS, i.e. a `..' path segment will be # treated as referring to the physical parent, even if the preceding path