.bashrc
author Scott Tsai <scottt.tw@gmail.com>
Thu May 28 22:48:57 2009 +0800 (8 years ago)
changeset 2 039328367673
child 5 079f7ebf0c6e
permissions -rw-r--r--
Add .hgrc and .gitconfig
     1 # .bashrc
     2 
     3 # User specific aliases and functions
     4 export HISTSIZE=50000
     5 
     6 alias py='python'
     7 alias ipy='ipython'
     8 alias gpy='ipython --gthread -c "import gtk, gobject"'
     9 
    10 export EDITOR='vim'
    11 # color highlighting for manpages
    12 export MANPAGER='col -b | vim -R -c "set ft=man " -'
    13 export PAGER="$HOME/bin/vim-pager"
    14 alias backtrace=gdb-backtrace
    15 alias bt=gdb-backtrace
    16 
    17 export CVS_RSH=ssh
    18 
    19 export GNOME_DISABLE_CRASH_DIALOG=1
    20 export KDE_DEBUG=1
    21 ulimit -c unlimited
    22 
    23 export MANSECT='0p:3p:1p:3:2:1:4:5:6:7:8:9:l'#:n #tcl
    24 
    25 [ -f $HOME/pyenv.env ] && source $HOME/pyenv.env
    26 
    27 # Source global definitions
    28 if [ -f /etc/bashrc ]; then
    29 	. /etc/bashrc
    30 fi
    31 
    32 # grep
    33 alias egrep='egrep --color=tty -d skip'
    34 alias egrpe='egrep --color=tty -d skip'
    35 alias fgrep='fgrep --color=tty -d skip'
    36 alias fgrpe='fgrep --color=tty -d skip'
    37 alias grep='grep --color=tty -d skip'
    38 alias grpe='grep --color=tty -d skip'
    39 
    40 # readline
    41 export INPUTRC=$HOME/.inputrc
    42 
    43 # mercurial
    44 #export HG=$(which hg)
    45 #export TORTOISEHG_PATH=$HOME/work/tortoisehg/thg-hg-crew-tip
    46 export TORTOISEHG_PATH=$HOME/work/tortoisehg/stable
    47 
    48 # bash completion
    49 source /etc/bash_completion.d/mercurial.sh
    50 
    51 # pango default language to differentiate CJK
    52 export PANGO_LANGUAGE=zh_TW