Last active
February 25, 2017 15:49
-
-
Save danichim/21ea16753a7032cf694f7008505be828 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 "[email protected]" | |
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