add navi plugin

feature/hass
Ingolf Wagner 2020-03-15 16:04:51 +08:00
parent 89b0690167
commit f5cfbeec86
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
2 changed files with 1 additions and 3 deletions

View File

@ -105,9 +105,6 @@ in {
# configure navi
environment.variables.NAVI_PATH = "$HOME/.cheats";
programs.zsh.loginShellInit = "source ${pkgs.navi}/shell/navi.plugins.zsh";
programs.bash.loginShellInit = "source ${pkgs.navi}/shell/navi.plugins.bash";
programs.fish.loginShellInit = "source ${pkgs.navi}/shell/navi.plugins.fish";
}

View File

@ -74,6 +74,7 @@ in {
home.file.".zshrc".text = ''
# a fix for https://github.com/NixOS/nixpkgs/issues/27587
source ${pkgs.navi}/share/navi/shell/navi.plugin.zsh
autoload -U compinit && compinit
'';