+ # reset the tempdir to deal with setuid things clearing it
+ export TMPDIR="$(echo ~/tmp)";
+ if [ -z "$DISPLAY" ]; then
+ exec emacsclient --alternate-editor /usr/bin/vi -c -nw "$@";
+ else
+ exec emacsclient --alternate-editor /usr/bin/vi -c "$@";
+ fi;