I wanted to add my own customizations after reading @mike-burns' post on [`psqlrc`](http://robots.thoughtbot.com/an-explained-psqlrc). As a result of this change, `.psqlrc` requires that a `.psqlrc.local` exist in the home folder because `psql` cannot do conditional sourcing of files in the style that we use in other foundation dotfiles. Touching the file to ensure it exists (even if blank) prevents `psql` from exiting with an error if the user does not provide their own custom configuration. Additional changes: * Updating the documentation with regard to which files get excluded.
8 lines
217 B
Bash
Executable file
8 lines
217 B
Bash
Executable file
#!/bin/sh
|
|
|
|
touch $HOME/.psqlrc.local
|
|
|
|
if [ ! -e $HOME/.vim/bundle/Vundle.vim ]; then
|
|
git clone https://github.com/gmarik/Vundle.vim.git $HOME/.vim/bundle/Vundle.vim
|
|
fi
|
|
vim -u $HOME/.vimrc.bundles +PluginInstall +qa
|