aboutsummaryrefslogtreecommitdiff
path: root/config/fish
diff options
context:
space:
mode:
Diffstat (limited to 'config/fish')
-rw-r--r--config/fish/config.fish18
1 files changed, 9 insertions, 9 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish
index 97cc534..97923b4 100644
--- a/config/fish/config.fish
+++ b/config/fish/config.fish
@@ -1,5 +1,14 @@
# PATH Stuff
+# include guix paths
+if type -q guix
+ for p in /home/fischerling/.guix-profile/bin /run/setuid-programs /run/current-system/profile/bin /run/current-system/profile/sbin
+ if not contains $p $PATH
+ set PATH $PATH $p
+ end
+ end
+end
+
# include cargo binaries
if type -q multirust
for p in $HOME/.multirust/toolchains/*/cargo/bin
@@ -18,15 +27,6 @@ if type -q go
end
end
-# include guix paths
-if type -q guix
- for p in /home/fischerling/.guix-profile/bin /run/setuid-programs /run/current-system/profile/bin /run/current-system/profile/sbin
- if not contains $p $PATH
- set PATH $PATH $p
- end
- end
-end
-
# guixsd has nether /bin nor /usr
# TODO find a better way to check if we are on guixsd
if not type -q guix