Created
May 4, 2016 15:53
-
-
Save yalovek/f2150ed316099d5dd4031b07086ff178 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env sh | |
# Install new vim | |
sudo apt-get build-dep vim | |
unzip vim-master.zip | |
cd vim-master | |
make | |
sudo make install | |
hash -r | |
vim --version | |
# Install plugins for vim | |
unzip spf13-vim3-3.0.zip | |
cd spf13-vim3-3.0 | |
./bootstrap.sh | |
#Install powerline-shell | |
chmod 755 ~/powerline-shell.py | |
echo 'function _update_ps1() { | |
PS1="$(~/powerline-shell.py $? 2> /dev/null)" | |
} | |
if [ "$TERM" != "linux" ]; then | |
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND" | |
fi' >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment