From 210addb2a784d2facc19e6024213f7546303de22 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Mon, 17 Mar 2025 15:19:33 +1100 Subject: [PATCH] user/zsh: disable execute --- modules/user/zsh.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/user/zsh.nix b/modules/user/zsh.nix index fec1e38..9f4b920 100644 --- a/modules/user/zsh.nix +++ b/modules/user/zsh.nix @@ -97,6 +97,9 @@ let bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down ''; + disableExecute = '' + bindkey -a -r ':' + ''; in { programs.command-not-found.enable = true; programs.zsh = { @@ -144,6 +147,7 @@ in { direnv genAbbrs viExtraNav + disableExecute ]; plugins = builtins.map (e: pluginFromInput e) [