1
0
Fork 0

bashrc: forgot to add `source` before sourcing hm vars

This commit is contained in:
Pratham Patel 2024-02-10 22:50:05 +05:30
parent c8da353ded
commit 66ac862a98
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if [[ "$(uname -s)" == 'Linux' ]]; then
# source the vars only if we are not on NixOS
if ! grep 'ID=nixos' /etc/os-release > /dev/null; then
[[ -f "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh" ]] && \
"${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh"
source "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh"
fi
elif [[ "$(uname -s)" == 'Darwin' ]]; then