Introducing ID to sz.env load, better handling of truenas specific code
This commit is contained in:
parent
f3bd0e804d
commit
18f047b9ca
5 changed files with 30 additions and 7 deletions
12
_home/private_dot_config/sz.env/zzz_bash_post.env
Normal file
12
_home/private_dot_config/sz.env/zzz_bash_post.env
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||
|
||||
BASE_SHELL=${BASE_SHELL:-${SHELL##*/}}
|
||||
|
||||
if [[ "${BASE_SHELL}" == "bash" ]]; then
|
||||
eval "${SZ_ENV_BASH_LOAD_PREEXEC}"
|
||||
if [[ -n "${BLE_VERSION-}" ]]; then
|
||||
[[ -n "${DBG}" ]] && echo "attaching ble.sh"
|
||||
ble-attach
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue