From ffc9fc2d95c1313f6f88109d9e87841d8365fb96 Mon Sep 17 00:00:00 2001 From: "Lockszmith (kateryna)" Date: Sat, 21 Sep 2024 14:15:49 -0400 Subject: [PATCH] Improve zellij loading --- _home/private_dot_local/bin/executable_load-zellij | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_home/private_dot_local/bin/executable_load-zellij b/_home/private_dot_local/bin/executable_load-zellij index 3d6ab54..90d7608 100644 --- a/_home/private_dot_local/bin/executable_load-zellij +++ b/_home/private_dot_local/bin/executable_load-zellij @@ -22,9 +22,10 @@ if is_sourced; then } zellij() { if [[ ! -x ~/bin/zellij ]]; then - if [[ -r $HOME/.cache/chezmoi/tmp/zellij/zellij ]]; then + if [[ -x $HOME/.cache/chezmoi/tmp/zellij/zellij ]]; then ln --symbolic --relative $HOME/.cache/chezmoi/tmp/zellij/zellij ~/bin elif [[ ! -x /tmp/zellij/bootstrap/zellij ]]; then + printf "Grabbing zellij from the web!\n" bash <(curl -sL zellij.dev/launch) "${@}" && return fi fi