Minor improvement to sz.env load process
This commit is contained in:
parent
9ebde5fb79
commit
f4c0bb36c1
4 changed files with 16 additions and 1 deletions
|
@ -1,6 +1,13 @@
|
|||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||
|
||||
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
|
||||
export ENVMAN_LOAD=''
|
||||
|
||||
if [ -s "$HOME/.config/envman/load.sh" ]; then
|
||||
[[ -n "${DBG}" ]] && echo "Loading envman"
|
||||
source "$HOME/.config/envman/load.sh"
|
||||
|
||||
[[ -n "${DBG}" ]] && echo "${PATH//:/\n}"
|
||||
fi
|
||||
|
||||
if is_cmd webi; then
|
||||
. <(webi --init "${SHELL##*/}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue