mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 12:46:42 +00:00
common: update config
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
__HOME_ZPROFILE_SOURCED=1
|
||||
[[ -f "$ZSH_DATA_DIR/nix_profile.sh" ]] && source "$ZSH_DATA_DIR/nix_profile.sh"
|
||||
[[ -f "/etc/profile" ]] && emulate sh -c "source /etc/profile"
|
||||
|
||||
if [[ -d ~/.nix-profile/etc/profile.d ]]; then
|
||||
for file in ~/.nix-profile/etc/profile.d/*; do
|
||||
[ -f "$file" ] && [ -r "$file" ] && emulate sh -c "source \"$file\""
|
||||
done
|
||||
fi
|
||||
|
||||
[[ -f "~/.profile" ]] && emulate sh -c "source ~/.profile"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user