gitconfig
gitconfig copied to clipboard
Personal config and stuff
These are configuration and script files for my personal use.
Altough general, it is highly focused on Rails development. This involve mainly
- VIM as editor
- git as SCM
- RVM for ruby
- ZSH for shell and Oh My ZSH as default settings
A deploy.sh script will symlink configurations, hooks and install RVM and Oh My ZSH.
It is very simple, just check its source code.
Install
These are sort of mandatory steps:
-
Install dependencies
sudo apt-get install wget curl command-not-found vim -
Run
deploy.sh -
Change
~/.gitconfigwith your name/email and commit changes
There are also some extra things you may like:
-
ack-grepis used as the grep command in VIM. Just installack-greppackage -
Change to ZSH and OhMyZSH:
sudo apt-get install zshandchsh -s /bin/zsh(also check your terminal emulator - Konsole, Gnome Termimal, etc) -
sshsudodepends onsshpasspackage -
VIM support of X clipboard depends on
vim-gnomepackage -
git-new-workdiris aliased to/usr/share/doc/git/contrib/workdir/git-new-workdir. So to use it run:sudo chmod +x /usr/share/doc/git/contrib/workdir/git-new-workdir
Perl development
- Install cpanminus with
curl -L http://cpanmin.us | perl - --sudo App::cpanminus
Troubleshooting
Submodules problem
Your submodule can't be updated: the easiest fix is to remove and get it again
MODULE=configs/.vim rm -fr $MODULE && rm -fr .git/modules/$MODULE; g smuir
References
- Oh My ZSH http://railscasts.com/episodes/308-oh-my-zsh