From 5aaead1fb29b7ed650d3ab84529d6eb4c2f8da63 Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Tue, 24 Dec 2024 11:22:23 +0100 Subject: [PATCH] enable autopush in zsh --- modules/cli/zsh/init.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/cli/zsh/init.zsh b/modules/cli/zsh/init.zsh index 02f7e9a..e355798 100644 --- a/modules/cli/zsh/init.zsh +++ b/modules/cli/zsh/init.zsh @@ -78,10 +78,9 @@ bindkey ^Z foreground eval "$(nix-your-shell zsh)" -# * empty is not an error setopt rm_star_silent -# allow comments in interactive sessions setopt interactivecomments +setopt autopushd (whence -w run-help | grep -q alias) && unalias run-help autoload run-help