diff --git a/_home/private_dot_local/bin/executable_load-zellij b/_home/private_dot_local/bin/executable_load-zellij index a7dfff3..3d6ab54 100644 --- a/_home/private_dot_local/bin/executable_load-zellij +++ b/_home/private_dot_local/bin/executable_load-zellij @@ -22,7 +22,9 @@ if is_sourced; then } zellij() { if [[ ! -x ~/bin/zellij ]]; then - if [[ ! -x /tmp/zellij/bootstrap/zellij ]]; then + if [[ -r $HOME/.cache/chezmoi/tmp/zellij/zellij ]]; then + ln --symbolic --relative $HOME/.cache/chezmoi/tmp/zellij/zellij ~/bin + elif [[ ! -x /tmp/zellij/bootstrap/zellij ]]; then bash <(curl -sL zellij.dev/launch) "${@}" && return fi fi