diff options
| -rw-r--r-- | home-manager/config/fish/local.pc168.path.fish | 2 | ||||
| -rw-r--r-- | home-manager/modules/common.nix | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/home-manager/config/fish/local.pc168.path.fish b/home-manager/config/fish/local.pc168.path.fish new file mode 100644 index 0000000..265ecff --- /dev/null +++ b/home-manager/config/fish/local.pc168.path.fish @@ -0,0 +1,2 @@ +fish_add_path $HOME/.lando/bin +fish_add_path /opt/homebrew/opt/gpatch/libexec/gnubin diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 2f75ba9..a2902d9 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -201,7 +201,14 @@ in enable = true; interactiveShellInit = builtins.readFile ../config/fish/config.fish; - shellInitLast = builtins.readFile ../config/fish/path.fish; + shellInitLast = + builtins.readFile ../config/fish/path.fish + + ( + if builtins.pathExists ../config/fish/local.${nodeName}.path.fish then + builtins.readFile ../config/fish/local.${nodeName}.path.fish + else + "" + ); }; programs.starship = { |
