1
0
Fork 0

fix "typo"

This commit is contained in:
Pratham Patel 2024-02-19 14:38:45 +05:30
parent a1b72bdb16
commit c7378d3cfc
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ function tty_serial() {
fi
}
if [ "$SOURCE_HM_VARS" -eq 1 ]; then
[ -f "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh" ] && \
if [[ "${SOURCE_HM_VARS}" == '1' ]]; then
[[ -f "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh" ]] && \
source "${HOME}/.nix-profile/etc/profile.d/hm-session-vars.sh"
fi