aboutsummaryrefslogtreecommitdiff
path: root/config/fish/config.fish
diff options
context:
space:
mode:
authorFlorian Fischer <muhq@muhq.space>2017-05-24 11:48:47 +0200
committerFlorian Fischer <muhq@muhq.space>2017-05-24 11:50:35 +0200
commit6be7ec6a74dce0c57bb58cfe00fe3835bf74c466 (patch)
tree2b93ee0af2d23d079af374583b858c739801fe34 /config/fish/config.fish
parent7bb0dfa094264029be379a79fe74d270b30bed00 (diff)
downloaddotfiles-6be7ec6a74dce0c57bb58cfe00fe3835bf74c466.tar.gz
dotfiles-6be7ec6a74dce0c57bb58cfe00fe3835bf74c466.zip
export GUIX_PACKAGE_PATH and add current-system to the paths
Diffstat (limited to 'config/fish/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