user/zsh: disable execute

This commit is contained in:
LavaDesu 2025-03-17 15:19:33 +11:00
parent aa339560b3
commit 210addb2a7
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -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) [