fix hoard shortcut problem

This commit is contained in:
Ingolf Wagner 2023-05-27 00:13:30 +02:00
parent bc97a8f209
commit ecdbed74dc
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -32,15 +32,23 @@ in
read_from_current_directory = true; read_from_current_directory = true;
}; };
programs.zsh.initExtra = '' programs.zsh.initExtra = ''
export HOARD_NOBIND=1
source ${hoardSrc}/src/shell/hoard.zsh source ${hoardSrc}/src/shell/hoard.zsh
bindkey '^x' _hoard_list_widget
''; '';
}; };
# use showkey -a
# todo Ctrl-h is equivalent to Ctrl-Backspace (for some reason)
programs.zsh.interactiveShellInit = '' programs.zsh.interactiveShellInit = ''
export HOARD_NOBIND=1
source ${hoardSrc}/src/shell/hoard.zsh source ${hoardSrc}/src/shell/hoard.zsh
bindkey '^x' _hoard_list_widget
''; '';
programs.bash.interactiveShellInit = '' programs.bash.interactiveShellInit = ''
export HOARD_NOBIND=1
source ${hoardSrc}/src/shell/hoard.bash source ${hoardSrc}/src/shell/hoard.bash
bind -x '"\C-x": __hoard_list'
''; '';
} }