From 6be7ec6a74dce0c57bb58cfe00fe3835bf74c466 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 24 May 2017 11:48:47 +0200 Subject: export GUIX_PACKAGE_PATH and add current-system to the paths --- config/fish/config.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3