Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created January 12, 2011 08:55
Show Gist options
  • Save ongaeshi/775897 to your computer and use it in GitHub Desktop.
Save ongaeshi/775897 to your computer and use it in GitHub Desktop.
my .bashrc setting.
# ----------------------------------------
# コマンドエイリアス
# ---------------------------------------
#PS1='<\w>'
#PS1='% '
PS1='$ '
# ----------------------------------------
# ヒストリ設定
# ---------------------------------------
export HISTSIZE=50000
export HISTFILESIZE=50000
export HISTCONTROL=ignoredups
# ----------------------------------------
# ls
# ---------------------------------------
alias l='ls -FC'
alias ll='l -lo'
alias la='l -a'
alias lla='ll -a'
# ----------------------------------------
# grep
# ---------------------------------------
export GREP_OPTIONS="-r -I --exclude-dir=.svn --exclude-dir=.git --exclude-dir=CVS --exclude=*~ -n"
# ----------------------------------------
# ruby
# ---------------------------------------
alias irb='irb.bat'
alias gem='gem.bat'
export HTTP_PROXY='http://proxy.dummy.com:8080'
alias rake='rake.bat'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment