2025-03-12 17:59:18 +00:00
|
|
|
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
|
|
|
|
|
|
|
BASE_SHELL=${BASE_SHELL:-${SHELL##*/}}
|
|
|
|
|
2025-03-12 21:32:42 +00:00
|
|
|
SZ_NOMUX=${SZ_NOMUX:-0}
|
2025-03-12 17:59:18 +00:00
|
|
|
|
2025-03-12 21:32:42 +00:00
|
|
|
if [ "${SZ_NOMUX:-0}" -ne 1 ]; then
|
|
|
|
[ "$TERM_PROGRAM" != 'vscode' ] \
|
|
|
|
&& [ "$TERM_PROGRAM" != 'Tabby' ] \
|
|
|
|
&& [ -z "${VSCODE_PROFILE_INITIALIZED}" ] \
|
|
|
|
|| SZ_NOMUX=1
|
|
|
|
fi
|