Added session alias to start or reattach a persistent screen session.
[profile.git] / .profile.d / p4.bashrc
1 # $Id$
2 if [ ! -z "$SUDO_USER" ]; then
3   export P4USER=$SUDO_USER
4   export P4TICKETS=/tmp/.p4tickets.$SUDO_USER
5 else
6   export P4USER=$USER
7 fi
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'"
13 else
14   export P4MERGE="p4v -merge"
15 fi