From 65e2e540246e4120dc9083d077093532c295a71c Mon Sep 17 00:00:00 2001 From: nevaforget Date: Mon, 30 Mar 2026 22:40:53 +0200 Subject: [PATCH] Remove custom cd function from default zshrc Overriding a builtin like cd causes issues with tooling and scripts that expect standard cd behavior. --- defaults/shell/zshrc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/defaults/shell/zshrc b/defaults/shell/zshrc index 86058d1..4a62786 100644 --- a/defaults/shell/zshrc +++ b/defaults/shell/zshrc @@ -65,15 +65,6 @@ if [ -d "$HOME/.local/bin" ]; then PATH="$HOME/.local/bin:$PATH" fi -# --- cd with auto-listing --- -function cd() { - new_directory="$*"; - if [ $# -eq 0 ]; then - new_directory=${HOME}; - fi; - builtin cd "${new_directory}" && eza -lF --icons --color=always --group-directories-first -} - # --- Key bindings --- bindkey "^[[3~" delete-char bindkey "^[[H" beginning-of-line