aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-09 19:02:28 +0900
committernsfisis <nsfisis@gmail.com>2025-07-09 19:02:28 +0900
commit08f652f1b45c91b17c284a1204d3a980394ea77c (patch)
tree72d39b204cdda1e4afcd3d1348148abcd8298803
parent0aae4ca939350f84bdafc960c89b0ac276eb51ec (diff)
downloaddotfiles-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.fish2
-rw-r--r--home-manager/modules/common.nix9
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 = {