#!/bin/bash # Libs, apps sudo apt-get -y install git tig mercurial hgview-curses curl wget mc tmux trash-cli silversearcher-ag \ python-dev libbz2-dev libreadline-dev libssl-dev libxml2-dev ncurses-dev \ libsqlite3-dev expat findutils exuberant-ctags gcc build-essential cmake make pkgconf tk-dev \ vim vim-nox htop openssh-server # Workspace mkdir ~/workspace git clone https://github.com/inebritov/dotfiles ~/workspace/dotfiles bash ~/workspace/dotfiles/install for i in "$@" do case $i in pyenv) git clone https://github.com/yyuu/pyenv ~/.pyenv git clone https://github.com/yyuu/pyenv-virtualenv ~/.pyenv/plugins/pyenv-virtualenv ;; vbox) sudo apt-get -y install linux-headers-generic sudo mount /dev/cdrom /mnt sudo /mnt/autorun.sh sudo umount /mnt ;; xfce4) echo '(gtk_accel_path "/terminal-window/contents" "")' > ~/.config/xfce4/terminal/accels.scm echo 'AccelContents=' >> ~/.config/xfce4/terminal/terminalrc ;; *) ;; esac done