* fix typo
[lab.git] / TipAndDoc / .bashrc
index 33a26e3..4b743ec 100644 (file)
@@ -32,12 +32,19 @@ function I {
     if [ "$1" ]; then history | grep "$@"; else history 30; fi
 }
 
-if [ -f $BASH_COMPLETION_DIR/git ]; then
+if [ -f $BASH_COMPLETION_DIR/git -o -f $BASH_COMPLETION_COMPAT_DIR/git ]; then
     export PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(__git_ps1)\$ '
 else
     export PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
 fi
 
+function svnst {
+    svn st $@ | grep "^[^?]"
+}
+
 alias vi='vim'
 alias sudo='sudo -H '
 alias rm='rm -v'
+alias screen='screen -U -R'
+alias mv='mv -i'
+alias cp='cp -i'