--- /dev/null
+# $Id$
+if [ ! -z "$SUDO_USER" ]; then
+ export P4USER=$SUDO_USER
+ export P4TICKETS=/tmp/.p4tickets.$SUDO_USER
+else
+ export P4USER=$USER
+fi
+export P4CONFIG=.p4config
+export P4DIFF="diff -u"
+export P4EDITOR="vim -S '$HOME/.vim/script/p4'"
+if [ -z "$DISPLAY" ]; then
+ export P4MERGE="vim -o -c '3wincmd j' -c 'wincmd L'"
+else
+ export P4MERGE="p4v -merge"
+fi