Allow loading custom profile from ~/.local_profile.
parent
756423d3bd
commit
04285a5a39
|
@ -248,3 +248,15 @@ if [ $PROFILE_SYSTEMD -gt 0 ]; then
|
|||
log "$(systemctl --user import-environment PATH)"
|
||||
fi
|
||||
section_end
|
||||
|
||||
section "custom profile"
|
||||
if [ $PROFILE_CUSTOM -gt 0 ]; then
|
||||
log "Checking if local profile code exists at ~/.local_profile..."
|
||||
if [ -f ~/.local_profile ]; then
|
||||
log "Exists, loading."
|
||||
source ~/.local_profile
|
||||
else
|
||||
log "Does not exist, skipping."
|
||||
fi
|
||||
fi
|
||||
section_end
|
||||
|
|
Loading…
Reference in New Issue