##My personal bash, git & vim config
git clone https://github.com/petzlux/dotfiles ~/dotfiles
cd ~/dotfiles
git submodule init
git submodule update
python install.py
On Redhat 7, you need to add the following .bashrc_after file to your home directory:
if [ -f /usr/share/git-core/contrib/completion/git-prompt.sh ]; then
. /usr/share/git-core/contrib/completion/git-prompt.sh
fi
##Vim commands:
Search for a string across files
:vimgrep /pattern/ recursive/path/search/**/*.ext
:copen