diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-09 19:02:28 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-07-09 19:02:28 +0900 |
| commit | 08f652f1b45c91b17c284a1204d3a980394ea77c (patch) | |
| tree | 72d39b204cdda1e4afcd3d1348148abcd8298803 | |
| parent | 0aae4ca939350f84bdafc960c89b0ac276eb51ec (diff) | |
| download | dotfiles-08f652f1b45c91b17c284a1204d3a980394ea77c.tar.gz dotfiles-08f652f1b45c91b17c284a1204d3a980394ea77c.tar.zst dotfiles-08f652f1b45c91b17c284a1204d3a980394ea77c.zip | |
fish: add more paths to $PATH on workspace machine
| -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 = { |
