Rescue Zellij from Snap

This commit is contained in:
David Heinemeier Hansson 2024-06-04 14:42:04 -07:00
parent f427a3c776
commit 67864edec2

View File

@ -1,6 +1,10 @@
if [ -n "$FORCE" ] || ! command -v zellij &>/dev/null; then
sudo snap install zellij --classic
mkdir -p ~/.config/zellij/
cp ~/.local/share/omakub/configs/zellij.kdl ~/.config/zellij/config.kdl
ln -s ~/.local/share/omakub/themes/zellij ~/.config/zellij/themes
fi
cd ~/Downloads
curl -sLo zellij.tar.gz "https://github.com/zellij-org/zellij/releases/latest/download/zellij-x86_64-unknown-linux-musl.tar.gz"
tar -xf zellij.tar.gz zellij
sudo install zellij /usr/local/bin
rm zellij.tar.gz
cd -
mkdir -p ~/.config/zellij/
cp ~/.local/share/omakub/configs/zellij.kdl ~/.config/zellij/config.kdl
ln -s ~/.local/share/omakub/themes/zellij ~/.config/zellij/themes