1 # $Id: p4.bashrc 151 2008-11-20 13:59:19Z iain $
2 if [ ! -z "$SUDO_USER" ]; then
3 export P4USER=$SUDO_USER
4 export P4TICKETS=/tmp/.p4tickets.$SUDO_USER
8 export P4CONFIG=.p4config
9 export P4DIFF="diff -u"
10 export P4EDITOR="vim -S '$HOME/.vim/script/p4'"
11 if [ -z "$DISPLAY" ]; then
12 export P4MERGE="vim -o -c '3wincmd j' -c 'wincmd L'"
14 export P4MERGE="p4merge"