From f5cfbeec8608548aac4faaa8a0681fa5072a4d08 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 15 Mar 2020 16:04:51 +0800 Subject: [PATCH] add navi plugin --- system/all/packages.nix | 3 --- system/desktop/home-manager.nix | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/system/all/packages.nix b/system/all/packages.nix index 9f6efda..39789ef 100644 --- a/system/all/packages.nix +++ b/system/all/packages.nix @@ -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"; } diff --git a/system/desktop/home-manager.nix b/system/desktop/home-manager.nix index bf761bc..1a4fab8 100644 --- a/system/desktop/home-manager.nix +++ b/system/desktop/home-manager.nix @@ -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 '';