Skip to content

Instantly share code, notes, and snippets.

@inebritov
Last active February 22, 2017 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inebritov/c09a4489e5043d45c884 to your computer and use it in GitHub Desktop.
Save inebritov/c09a4489e5043d45c884 to your computer and use it in GitHub Desktop.
.tahr
#!/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 "<Actions>/terminal-window/contents" "")' > ~/.config/xfce4/terminal/accels.scm
echo 'AccelContents=' >> ~/.config/xfce4/terminal/terminalrc
;;
*)
;;
esac
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment