From d1cec54b3f5f0a9ee87b966433999cdf39c39525 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 23 May 2017 12:39:46 +0200 Subject: update guixsd setup guixsd specific environment variables are set with bash. After setting up the environment fish is executed. --- config/fish/config.fish | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config/fish/config.fish b/config/fish/config.fish index d89c8b5..41c71fa 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -1,10 +1,7 @@ # PATH Stuff -# include guix paths -for p in /home/fischerling/.guix-profile/bin /run/setuid-programs /run/current-system/profile/bin /run/current-system/profile/sbin - if test -d $p; and not contains $p $PATH - set PATH $PATH $p - end +if not contains ~/.local/bin $PATH + set PATH ~/.local/bin $PATH end # export the path to our dotfiles @@ -42,12 +39,6 @@ else end end -if not contains ~/.local/bin $PATH - set PATH ~/.local/bin $PATH -end - - - # autoload functions and completions in .dotfiles set fish_function_path $DOTFILES_LOCATION/config/fish/functions $fish_function_path set fish_complete_path $DOTFILES_LOCATION/config/fish/completions $fish_complete_path -- cgit v1.2.3