Last Updated: February 25, 2016
·
483
· gabrielpoca

Tweaking your tools

If you're like me you probably spend more time tweaking your work tools that using them (yeah, you know what I'm talking about). So lets speed up and get this in your zshrc:

conf() {
    case $1 in
        vim)    vim ~/.vimrc ;;
        tmux)   vim ~/.tmux.conf;;
        zsh)    vim ~/.zshrc;;
    esac
}

You should know how to edit this to your needs. Now you can just type conf vim and you're right where you want to be.