aboutsummaryrefslogtreecommitdiff
path: root/config/fish
diff options
context:
space:
mode:
authorFlorian Fischer <muhq@muhq.space>2017-05-24 11:48:47 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2017-06-05 19:02:42 +0200
commitf1b85b9997a2235e5e3070268da887e70df7b2ff (patch)
tree2b93ee0af2d23d079af374583b858c739801fe34 /config/fish
parente56a88107e5961cb457e02f70962cfed41234617 (diff)
downloaddotfiles-f1b85b9997a2235e5e3070268da887e70df7b2ff.tar.gz
dotfiles-f1b85b9997a2235e5e3070268da887e70df7b2ff.zip
export GUIX_PACKAGE_PATH and add current-system to the paths
Diffstat (limited to 'config/fish')
-rw-r--r--config/fish/config.fish5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish
index 41c71fa..10ab766 100644
--- a/config/fish/config.fish
+++ b/config/fish/config.fish
@@ -28,7 +28,10 @@ end
# guixsd has nether /bin nor /usr
# TODO find a better way to check if we are on guixsd
if type -q guix
- set GUIX_PACKAGE_PATH $DOTFILES_LOCATION/guix/packages
+ set -x GUIX_PACKAGE_PATH $DOTFILES_LOCATION/guix/packages
+ # source the system paths
+ set fish_function_path $fish_function_path /run/current-system/profile/share/fish/functions
+ set fish_complete_path $fish_complete_path /run/current-system/profile/share/fish/completions
else
if not contains /bin/core_perl $PATH
set PATH /bin/core_perl $PATH