From daf79cc7882db6c409903d0efc65b2a33878a93b Mon Sep 17 00:00:00 2001 From: William Date: Wed, 1 Apr 2026 10:34:05 -0300 Subject: [PATCH] auto expand !! on zsh --- aspects/base/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aspects/base/zsh.nix b/aspects/base/zsh.nix index c0313c9..151801d 100644 --- a/aspects/base/zsh.nix +++ b/aspects/base/zsh.nix @@ -30,6 +30,10 @@ unsetopt beep ${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin + # Expand !! and !$ on space (Fish-style) + bindkey ' ' magic-space + setopt HIST_VERIFY + # Fish-style Ctrl+Backspace: delete one path segment at a time function backward-kill-path-component() { if [[ "$LBUFFER" == */ ]]; then