fix: zellij should not be loaded in vscode terminal
This commit is contained in:
parent
125a023c01
commit
02260030a9
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
if is_cmd load-zellij; then
|
if is_cmd load-zellij && [ -z "${VSCODE_PROFILE_INITIALIZED}" ]; then
|
||||||
# zellij will need to allow reload of the enviornment
|
# zellij will need to allow reload of the enviornment
|
||||||
[[ -z "$ZELLIJ_SESSION_NAME" ]] && unset SZ_ENV_LOADED
|
[[ -z "$ZELLIJ_SESSION_NAME" ]] && unset SZ_ENV_LOADED
|
||||||
. <( load-zellij - )
|
. <( load-zellij - )
|
||||||
|
|
Loading…
Reference in New Issue