From c0b6b9ded5676f62fb69bd3fab5d0fc73e1882b2 Mon Sep 17 00:00:00 2001 From: aadit Date: Wed, 11 Jun 2025 10:26:41 +0530 Subject: [PATCH] Add tools.sh --- tools.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tools.sh diff --git a/tools.sh b/tools.sh new file mode 100644 index 0000000..95e70d1 --- /dev/null +++ b/tools.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +# Exit immediately if a command exits with a non-zero status. +set -e + +# Install Zed +echo "Installing Zed editor..." +curl -f https://zed.dev/install.sh | sh + +# Add Zotero repository and install Zotero & Jurism +echo "Setting up Zotero and Jurism repositories..." +wget -qO- https://raw.githubusercontent.com/retorquere/zotero-deb/master/install.sh | sudo bash + +echo "Updating package list..." +sudo apt update + +echo "Installing Zotero..." +sudo apt install -y zotero + +echo "Installing Jurism..." +sudo apt install -y jurism + +# Install and run Zen Browser using Flatpak +echo "Installing Zen Browser..." +# The -y flag automatically confirms the installation +flatpak install -y flathub app.zen_browser.zen + +echo "Launching Zen Browser..." +flatpak run app.zen_browser.zen + +echo "All tools have been installed and Zen Browser has been launched." \ No newline at end of file