Gitify the working tree.
[profile.git] / .profile.d / p4.bashrc
1 if [ ! -z "$SUDO_USER" ]; then
2   export P4USER=$SUDO_USER
3   export P4TICKETS=/tmp/.p4tickets.$SUDO_USER
4 else
5   export P4USER=$USER
6 fi
7 export P4CONFIG=.p4config
8 export P4DIFF="diff -u"
9 export P4EDITOR="vim -S '$HOME/.vim/script/p4'"
10 if [ -z "$DISPLAY" ]; then
11   export P4MERGE="vim -o -c '3wincmd j' -c 'wincmd L'"
12 else
13   export P4MERGE="p4v -merge"
14 fi