add navi plugin
This commit is contained in:
parent
89b0690167
commit
f5cfbeec86
2 changed files with 1 additions and 3 deletions
|
@ -105,9 +105,6 @@ in {
|
||||||
|
|
||||||
# configure navi
|
# configure navi
|
||||||
environment.variables.NAVI_PATH = "$HOME/.cheats";
|
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";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,6 +74,7 @@ in {
|
||||||
|
|
||||||
home.file.".zshrc".text = ''
|
home.file.".zshrc".text = ''
|
||||||
# a fix for https://github.com/NixOS/nixpkgs/issues/27587
|
# a fix for https://github.com/NixOS/nixpkgs/issues/27587
|
||||||
|
source ${pkgs.navi}/share/navi/shell/navi.plugin.zsh
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue