[NixOS] [Emacs] Enable eat shell integration

This commit is contained in:
Ivan Malison 2024-06-02 17:56:00 -06:00
parent 2af8204750
commit 00139ef2fe

View File

@ -33,6 +33,16 @@ with lib;
eval "$(register-python-argcomplete prb)" eval "$(register-python-argcomplete prb)"
eval "$(register-python-argcomplete prod-prb)" eval "$(register-python-argcomplete prod-prb)"
eval "$(register-python-argcomplete railbird)" eval "$(register-python-argcomplete railbird)"
[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && source "$EAT_SHELL_INTEGRATION_DIR/zsh"
'';
};
programs.bash = {
interactiveShellInit = ''
eval "$(register-python-argcomplete prb)"
eval "$(register-python-argcomplete prod-prb)"
eval "$(register-python-argcomplete railbird)"
[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && source "$EAT_SHELL_INTEGRATION_DIR/bash"
''; '';
}; };