Skip to content

Instantly share code, notes, and snippets.

@danichim
Last active February 25, 2017 15:49
Show Gist options
  • Save danichim/21ea16753a7032cf694f7008505be828 to your computer and use it in GitHub Desktop.
Save danichim/21ea16753a7032cf694f7008505be828 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Install files on a fresh OS
#Everything will be up to date
sudo apt-get update
sudo apt-get upgrade
#Stuff!
sudo apt-get install git zsh vim curl nodejs vim-nox
#VIM config
wget https://raw.githubusercontent.com/dmfarcas/Dotfiles/master/.vimrc -P $HOME
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
vim +PluginInstall +qall
#Install chromium
wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb; sudo dpkg -i google-chrome-beta_current_amd64.deb
#Get and install Atom
sudo apt-get install gvfs-bin;
wget https://github.com/atom/atom/releases/download/v1.14.3/atom-amd64.deb -P /tmp
sudo dpkg -i /tmp/atom-amd64.deb
#Install Node Version Manager
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
#Install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
wget https://gist.githubusercontent.com/danichim/f462d3a73b75a322dd1af9b75c5ac36c/raw/be62c6c83dfc0815d6fc0116cff851adad051640/.zshrc -O $HOME
#Install slack
sudo apt-get install apt-transport-https libappindicator1 libdbusmenu-glib4 libdbusmenu-gtk4 libindicator7
wget https://downloads.slack-edge.com/linux_releases/slack-desktop-2.4.2-amd64.deb /tmp
sudo dpkg -i /tmp/slack-desktop-2.4.2-amd64.deb
#PowerLine Font
git clone https://github.com/powerline/fonts.git
./install.sh
#Weather
wget https://raw.githubusercontent.com/lovenunu/weather.sh/master/weather.sh
sudo chmod +x weather.sh && sudo mv weather.sh /usr/local/bin/weather
#SSH Keys
ssh-keygen -t rsa -b 4096 -C "dan.farcas@assist.ro"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa
echo ">>SSH KEY START<<"
cat ~/.ssh/id_rsa.pub
echo ">>SSH KEY END<<"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment