-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·35 lines (28 loc) · 1.23 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /bin/bash
sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt-get update
sudo apt-get install guake git neovim curl zsh xclip autoconf g++ cmake htop dconf-editor
ln -s ~/repos/dotfiles/inputrc ~/.inputrc
ln -s ~/repos/dotfiles/radare2rc ~/.radare2rc
ln -s ~/repos/dotfiles/vimrc ~/.vimrc
ln -s ~/repos/dotfiles/gitconfig ~/.gitconfig
# Disable shortcut ctrl+alt+left/right for switching workspace
# The reason why is that pycharm used it by default to go forward and backward in the history
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right []
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left []
# Install Menlo for Powerline
mkdir ~/.fonts
cd ~/repos
git clone https://github.com/abertsch/Menlo-for-Powerline.git
cd Menlo-for-Powerline && cp *.ttf ~/.fonts
fc-cache -vf ~/.fonts
# Install Oh-my-zsh
read -p "Are you sure you want to install Oh-my-zsh? " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]
then
RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
fi
# Install oh-my-zsh theme
mkdir -p ~/.oh-my-zsh/themes/ && cd ~/.oh-my-zsh/themes/
wget http://raw.github.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme