Source Nix profile if existent

This commit is contained in:
Marcel Kapfer 2018-02-23 10:04:38 +01:00
parent cc97ab119f
commit 9d86a8d3d6
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -95,6 +95,12 @@ if test $gnupg_SSH_AUTH_SOCK_by -ne %self
end
gpg-connect-agent updatestartuptty /bye > /dev/null
# Source the Nix profile, if it exists.
set -l NIX_PROFILE $HOME/.nix-profile/etc/profile.d/nix.fish
if test -e $NIX_PROFILE
source $NIX_PROFILE
end
# Automatically start X at login
# source: https://wiki.archlinux.org/index.php/Fish#Start_X_at_login
# This must be at the bottom of this file