Common customizations for bash, vim, git etc.
Vim script JavaScript Shell Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
powerline-bash @ 2f34244
powerline-shell @ ab28f3c
solarized @ e4adbe6
.bash_profile
.bashrc
.gitconfig
.gitignore
.gitmodules
.gvimrc
.inputrc
.quip.shrc
.quip.vimrc
.shrc
.slate.js
.tmux.conf
.vimrc
.zshrc
README.md
bash-powerline-screenshot.png
git-aliases-screenshot.png
install.py
vim-screenshot.png

README.md

dotfiles

I spend way too much time customizing vim/bash/terminal/younameit.

Vim

Here's how my MacVim window looks:

MacVim+Solarized+Powerline+CtrlP

Bash

Update: Moved the powerline-bash script to its own repository

I implemented a Powerline like prompt for Bash:

MacVim+Solarized+Powerline+CtrlP

  • Displays the current git branch
  • Changes color if the last command exited with a failure code
  • If you're too deep into a directory tree, shortens the displayed path with an ellipsis
  • It's all done in a Python script, so you could go nuts with it

The .bashrc also has a handy function for adding bash aliases for git commands, without losing bash completion:

MacVim+Solarized+Powerline+CtrlP

  • Make the vi command open files in a single MacVim window