Skip to content

Instantly share code, notes, and snippets.

@ctrl-f5
Last active April 29, 2020 14:08
Show Gist options
  • Save ctrl-f5/c4268d3ca26e7acfc8bc9370adec0bf1 to your computer and use it in GitHub Desktop.
Save ctrl-f5/c4268d3ca26e7acfc8bc9370adec0bf1 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
# ppas and downloads
sudo add-apt-repository -y ppa:papirus/papirus
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -O ~/Downloads/google-chrome.deb
# update and install apt packages
sudo apt update
sudo apt install -y ~/Downloads/google-chrome.deb chrome-gnome-shell \
vim git zsh make docker docker-compose \
papirus-icon-theme powerline fonts-powerline \
gnome-tweak-tool network-manager-openvpn network-manager-openvpn-gnome \
calibre flameshot
# install snaps
sudo snap install phpstorm slack --classic
sudo snap install postman spotify
# install oh-my-zsh
wget -qO- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh | sh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
touch ~/.bash_aliases
# custom papyrus folder colors
wget -qO- https://git.io/papirus-folders-install | sh
papirus-folders -C orange --theme Papirus-Dark
# add user to docker group
sudo groupadd docker || true
sudo usermod -aG docker $(whoami)
# config git
git config --global user.name 'Nicky De Maeyer'
git config --global user.email 'nicky.demaeyer@gmail.com'
echo '.local' > ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
# manually install gnome extensions
echo 'install gnome extensions:'
echo 'https://extensions.gnome.org/extension/779/clipboard-indicator/'
echo 'https://extensions.gnome.org/extension/1092/audio-switcher/'
echo 'https://extensions.gnome.org/extension/307/dash-to-dock/'
echo 'https://extensions.gnome.org/extension/2588/fully-transparent-top-bar/'
echo 'https://extensions.gnome.org/extension/1485/workspace-matrix/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment