Changeset ddb1335 in lab.git for TipAndDoc/.bashrc
- Timestamp:
- Mar 12, 2016 9:30:08 PM (9 years ago)
- Branches:
- master
- Children:
- a53ff5b
- Parents:
- 214dd9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TipAndDoc/.bashrc
r29f6915b rddb1335 27 27 } 28 28 29 if [ -f $BASH_COMPLETION_DIR/git -o -f $BASH_COMPLETION_COMPAT_DIR/git \30 -o -f $BASH_COMPLETION_COMPAT_DIR/git-prompt ]; then31 export PS1=' ${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1)\$ '29 if [ -f /usr/share/git/completion/git-prompt.sh ]; then 30 source /usr/share/git/completion/git-prompt.sh 31 export PS1='\u@\h:\w$(__git_ps1)\$ ' 32 32 else 33 export PS1=' ${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '33 export PS1='\u@\h:\w\$ ' 34 34 fi 35 36 if [ -d $HOME/bin -a `echo $PATH | grep -c $HOME/bin` -eq 0 ]; then37 export PATH=$PATH:$HOME/bin38 fi39 40 function svnst {41 svn st $@ | grep "^[^?]"42 }43 44 function hexcmp {45 cmp -l "$@" | awk '{printf "%08X %02X %02X\n", $1-1, strtonum(0$2), strtonum(0$3)}'46 }47 35 48 36 alias vi='vim'
Note: See TracChangeset
for help on using the changeset viewer.