Skip to content

Instantly share code, notes, and snippets.

@kmdsbng
kmdsbng / _tmuxinator
Last active January 2, 2016 12:09 — forked from ser1zw/_tmuxinator
#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
@kmdsbng
kmdsbng / template.rb
Created April 28, 2011 12:33 — forked from nog/template.rb
nog rails application template
# 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
# 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"