From 90b64a8603a160b26e94dedf448bd466811924c0 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Wed, 19 Feb 2025 15:16:13 +0100 Subject: [PATCH] zsh:keys: Remove duplicate cd-up definition I forgot that this was already a thing before d961daf38 ("zsh:keys: Change one dir up on `^U`") and missed that I only moved the function in the file instead of creating it (the changes were lying around a bit). --- .config/zsh/zshrc.d/60-keys.zsh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.config/zsh/zshrc.d/60-keys.zsh b/.config/zsh/zshrc.d/60-keys.zsh index 3dce5b6..cef4a52 100644 --- a/.config/zsh/zshrc.d/60-keys.zsh +++ b/.config/zsh/zshrc.d/60-keys.zsh @@ -235,14 +235,6 @@ zle -N insert-shcwd # Ctrl-Shift-G bindkey '^[[71;6u' insert-shcwd -# move one directory up on ^U (mnemonic: 'Up') -function cd-up { - pushd -q .. - redraw-prompt -} -zle -N cd-up -bindkey '^U' cd-up - ## History # Ctrl-Up bindkey '^[[1;5A' fzf-history-widget