diff --git a/nix/modules/fish/default.nix b/nix/modules/fish/default.nix index daa2b3f..c626a11 100644 --- a/nix/modules/fish/default.nix +++ b/nix/modules/fish/default.nix @@ -41,6 +41,9 @@ let tide_conf = builtins.readFile ./tide_config.fish; in ]; shellInit = '' + # Undo stupid home-manager behavior of refusing to let the init file be re-sourced + set -e __fish_home_manager_config_sourced + set --universal fish_greeting set -g -x EDITOR "emacsclient -a \"emacs -nw\"" set -g -x ALTERNATE_EDITOR "vim" @@ -108,6 +111,7 @@ let tide_conf = builtins.readFile ./tide_config.fish; in shellAliases = { ec = "emacsclient -n --alternate-editor=\"emacs -nw\""; + src = "source $HOME/.config/fish/config.fish"; pubip = "curl icanhazip.com"; }; };