Add Zed install dialog
This commit is contained in:
12
install.sh
12
install.sh
@@ -69,7 +69,7 @@ for selection in $main_menu; do
|
||||
dialog --erase-on-exit \
|
||||
--backtitle "$BACKTITLE" \
|
||||
--title "Install/Update Neovim?" \
|
||||
--yesno "Nvim will be compiled from source. This may take a long time, depending on your device. If unsure, select yes." 10 40
|
||||
--yesno "Nvim will be compiled from source. This may take a long time, depending on your device." 10 40
|
||||
|
||||
if [ "$?" -eq 0 ]; then
|
||||
# NVIM has to be compiled from source to support arm64 and i386 devices, for example.
|
||||
@@ -83,6 +83,16 @@ for selection in $main_menu; do
|
||||
rm -rf neovim
|
||||
fi
|
||||
|
||||
# Zed
|
||||
dialog --erase-on-exit \
|
||||
--backtitle "$BACKTITLE" \
|
||||
--title "Install Zed?" \
|
||||
--yesno "Zed (code editor) will be installed using the official install script." 10 40
|
||||
|
||||
if [ "$?" -eq 0 ]; then
|
||||
curl https://zed.dev/install.sh | sh
|
||||
fi
|
||||
|
||||
echo "Installing utilities..."
|
||||
sudo apt install -y htop fzf git wget curl bash-completion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user