#!/bin/bash ( xauth nlist >/tmp/liang-sh-3t-4018-xauth-for-merge && emacsclient --eval '(call-process-shell-command "xauth nmerge /tmp/liang-sh-3t-4018-xauth-for-merge")' ) || exit 1 if [ -z "$1" ] then emacsclient -c -n else emacsclient -c -n "$@" fi