Skip to content

Instantly share code, notes, and snippets.

@roziscoding
Created February 10, 2021 10:59
Show Gist options
  • Save roziscoding/a7bdadd4a2f342a2f3bbd74692396d1d to your computer and use it in GitHub Desktop.
Save roziscoding/a7bdadd4a2f342a2f3bbd74692396d1d to your computer and use it in GitHub Desktop.
echo "Installing curl"
sudo apt install curl
echo "Installing git"
sudo apt install git
echo "Installing xclip"
sudo apt install xclip
echo "Installing zinit"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)"
echo "Installing homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "Adding brew to PATH"
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
echo "Installing Telegram"
sudo apt install telegram-desktop
echo "Log in to telegram, then press any key"
read
echo "Now, install and log in to 1Password, then press enter"
xdg-open "https://support.1password.com/getting-started-browser/"
read
echo "Installing gh"
brew install gh
gh auth login -w
echo "Installing terminator with dracula theme"
sudo apt install terminator
cd ~
mkdir -p github.com/dracula
cd github.com/dracula
echo "Copy you PRIVATE key, then press enter"
read
xclip -o -selection clip > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
gh repo clone dracula/terminator
cd terminator
yes yes | ./install.sh
echo "Downloading Dracula GTK theme"
cd ~
mkdir -p .themes
cd .themes
DRACULA_GTK_RELEASE=$(curl -s https://api.github.com/repos/dracula/gtk/releases/latest | grep "tag_name" | cut -d : -f 2,3 | tr -d \" | tr -d , | tr -d " ");
wget -q https://github.com/dracula/gtk/releases/download/$DRACULA_GTK_RELEASE/Dracula.tar.xz
tar -xvf Dracula.tar.xz
rm Dracula.tar.xz
echo "Installing gnome-tweaks"
sudo apt install gnome-tweaks
echo "Installing zsh"
sudo apt install zsh
chsh -s $(which zsh)
echo "Installing .zshrc"
gh gist view 5503f548bcc939ce6a959ebfa2b986c7 > ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment