3 # User specific aliases and functions
8 alias gpy='ipython --gthread -c "import gtk, gobject"'
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
19 export GNOME_DISABLE_CRASH_DIALOG=1
23 export MANSECT='0p:3p:1p:3:2:1:4:5:6:7:8:9:l'#:n #tcl
25 [ -f $HOME/pyenv.env ] && source $HOME/pyenv.env
27 # Source global definitions
28 if [ -f /etc/bashrc ]; then
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'
41 export INPUTRC=$HOME/.inputrc
44 #export HG=$(which hg)
45 #export TORTOISEHG_PATH=$HOME/work/tortoisehg/thg-hg-crew-tip
46 export TORTOISEHG_PATH=$HOME/work/tortoisehg/stable
49 source /etc/bash_completion.d/mercurial.sh
51 # pango default language to differentiate CJK
52 export PANGO_LANGUAGE=zh_TW