Skip to content

Instantly share code, notes, and snippets.

@peisenhower
Last active November 9, 2017 19:24
Show Gist options
  • Save peisenhower/79be10786ce00286b10fc609b327d1d1 to your computer and use it in GitHub Desktop.
Save peisenhower/79be10786ce00286b10fc609b327d1d1 to your computer and use it in GitHub Desktop.
ubuntu quick start script installing applications for fresh install
#!/usr/bin/env bash
EMAIL='name@gmail.com'
NAME='full name'
sudo apt install curl git
# Sublime
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
# Atom
wget https://atom.io/download/deb -O /tmp/atom.deb
sudo dpkg -i /tmp/atom.deb
# Yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
# Numix
sudo add-apt-repository ppa:numix/ppa
# MPV player
sudo add-apt-repository ppa:djcj/vapoursynth
# Spotify
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 0DF731E45CE24F27EEEB1450EFDC8610341D9410
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
# Packages
sudo apt update
sudo apt install -y vim git ruby rake python curl wget sublime-text zsh yarn trash-cli numix-icon-theme numix-icon-theme-circle shutter mpv spotify-client tmux screen ctags tree
# Node
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
nvm install node
# git configuration
git config --global user.name $NAME
git config --global user.email $EMAIL
git config --gloabl remote.origin.prune true
# ssh keys
ssh-keygen
# janus vim
curl -L https://bit.ly/janus-bootstrap | bash
echo 'color molokai' >> ~/.vimrc.after
echo 'let mapleader = ","' >> ~/.vimrc.before
# oh my tmux
cd
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
# of my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Shell themes https://github.com/Mayccoll/Gogh/blob/master/content/themes.md
wget -O xt http://git.io/v3DB9 && chmod +x xt && ./xt && rm xt
wget -O xt http://git.io/v3Dlb && chmod +x xt && ./xt && rm xt
wget -O xt http://git.io/v3DBv && chmod +x xt && ./xt && rm xt
# vimix theme
wget https://dl.opendesktop.org/api/files/download/id/1490245286/VimixDark-Gtk-Theme.tar.xz -O /tmp/theme.tar.zx
cd /tmp
tar -xvf theme.tar.xz
./theme/VimixDark-installer.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment