diff --git a/programs/bash.nix b/programs/bash.nix index 8a84411..c2e36fd 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -38,7 +38,7 @@ in { } PROMPT_COMMAND="__prompt" - bind '"\C-o": "\C-a\C-k fg\n"' + bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"' bind '"\e\C-m": "\C-e | nvim\C-m"' ''; };