fix: zellij should not be loaded in vscode terminal
This commit is contained in:
parent
125a023c01
commit
02260030a9
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/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
|
||||
[[ -z "$ZELLIJ_SESSION_NAME" ]] && unset SZ_ENV_LOADED
|
||||
. <( load-zellij - )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue