aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-09-20 13:35:10 +0200
committerKarel Kočí <cynerd@email.cz>2021-09-20 13:35:10 +0200
commit1af240d7d6ea531390eca8184ed05c86739ad05b (patch)
tree4dd4f5ee3d201388b076b37151562ba4781b57db /profile
parentb122ba5087d466c7b2fb41b71f8dee708bec67ec (diff)
downloadmyconfigs-1af240d7d6ea531390eca8184ed05c86739ad05b.tar.gz
myconfigs-1af240d7d6ea531390eca8184ed05c86739ad05b.tar.bz2
myconfigs-1af240d7d6ea531390eca8184ed05c86739ad05b.zip
profile: tweak the nix syntax
Diffstat (limited to 'profile')
-rw-r--r--profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile b/profile
index 8ea4bb2..92ea6ef 100644
--- a/profile
+++ b/profile
@@ -23,7 +23,7 @@ if [ "$(tty)" = "/dev/tty1" ]; then
fi
# Nix
-[ ! -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] || \
+[ -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] && \
. "$HOME/.nix-profile/etc/profile.d/nix.sh" # added by Nix installer
echo