This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# aliases for git | |
alias g="git" | |
alias gad="git add" | |
alias gb="git branch -v" | |
alias gba="git branch -a" | |
alias gbl="git blame" | |
alias gbr="git branch -r" | |
alias gc="git commit -v" | |
alias gca="git commit -av" | |
alias gco="git checkout" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usage: rails new hogehoge -m https://raw.github.com/gist/946260 | |
# Copy database.yml | |
run "cp config/database.yml config/database.sample.yml" | |
# Delete unnecessary files | |
run "rm README" | |
run "rm public/index.html" | |
#git | |
git :init |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef tmuxinator mux | |
# zsh completion for tmuxinator | |
# Install: | |
# $ mkdir -p ~/.tmuxinator/completion | |
# $ cp _tmuxinator ~/.tmuxinator/completion | |
# $ vi ~/.zshrc # add the following codes | |
# fpath=($HOME/.tmuxinator/completion ${fpath}) | |
# autoload -U compinit |