Watch
1
0
Fork
You've already forked dotfiles
0

etc(linux): Unset functions after use instead of before

This commit is contained in:
Jeremy Kaplan 2026-10-20 17:57:27 -04:00
commit 231edbf377

View file

@ -24,11 +24,11 @@ source_if "${HOME}/.nix-profile/etc/profile.d/nix.sh"
path_if "$HOME/bin"
path_if "$HOME/.local/bin"
unset -f source_if
unset -f path_if
unset -f has
if has gnome-keyring-daemon; then
eval "$(gnome-keyring-daemon --start)"
export SSH_AUTH_SOCK
fi
unset -f source_if
unset -f path_if
unset -f has