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
| # Customize BASH PS1 prompt to show current GIT repository and branch. | |
| # by Mike Stewart - http://MediaDoneRight.com | |
| # SETUP CONSTANTS | |
| # Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
| # I don't remember where I found this. o_O | |
| # Reset | |
| Color_Off="\[\033[0m\]" # Text Reset |
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
| #sudo yum remove $(rpm -qa | grep ^vim) | |
| # the above line requires sudo and cvs to be removed | |
| # so we use the one below instead | |
| sudo yum remove vim-common vim-enhanced | |
| #!/bin/bash | |
| # on centos minimal | |
| sudo yum install gcc make ncurses-devel lua lua-devel perl wget | |
| # Download vim7.4 |
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
| sudo apt-get install liblua5.1-dev | |
| sudo mkdir /usr/include/lua5.1/include/ | |
| sudo cp /usr/include/lua5.1/* /usr/include/lua5.1/include/ | |
| sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/local/lib/liblua.so | |
| hg clone https://code.google.com/p/vim/ | |
| cd vim | |
| ./configure --with-features=huge \ | |
| --enable-perlinterp \ | |
| --enable-rubyinterp \ | |
| --enable-pythoninterp=yes \ |