cleanup debug code

This commit is contained in:
Lockszmith (Mac@VAST) 2025-04-10 16:17:41 -04:00
parent c77e0d9bec
commit 4c0ea19f22
1 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ if is_sourced; then
fi fi
} }
refresh-zellij() { refresh-zellij() {
${SET:-:} -x ${SET_X-:} -x
local bin_path=~/.local/bin/zellij local bin_path=~/.local/bin/zellij
local cached_path=~/.cache/chezmoi/tmp/zellij local cached_path=~/.cache/chezmoi/tmp/zellij
if [ -z "$(env which zellij)" ] && [ -x "${cached_path}" ]; then if [ -z "$(env which zellij)" ] && [ -x "${cached_path}" ]; then
@ -66,11 +66,11 @@ ${SET:-:} -x
. <( env zellij setup --generate-completion "$BASE_SHELL" ) . <( env zellij setup --generate-completion "$BASE_SHELL" )
fi fi
} }
${SET:-:} -x ${SET_X-:} -x
if [[ -n "$(env which zellij)" ]]; then if [[ -n "$(env which zellij)" ]]; then
zellij-load-completion zellij-load-completion
fi fi
${SET:-:} -x ${SET_X-:} -x
# Was needed when zsh would load # Was needed when zsh would load
# . <( zellij setup --generate-completion "$BASE_SHELL" | sed -ne '/^function/,$p' ) # . <( zellij setup --generate-completion "$BASE_SHELL" | sed -ne '/^function/,$p' )
if [[ -z "$ZELLIJ_SESSION_NAME" ]]; then if [[ -z "$ZELLIJ_SESSION_NAME" ]]; then