Check chezmoi tmp cache first for zellij
This commit is contained in:
parent
c29866a6d1
commit
bf1b14d7d4
|
@ -22,7 +22,9 @@ if is_sourced; then
|
||||||
}
|
}
|
||||||
zellij() {
|
zellij() {
|
||||||
if [[ ! -x ~/bin/zellij ]]; then
|
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
|
bash <(curl -sL zellij.dev/launch) "${@}" && return
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue