Source

shared / bin / visit

#!/usr/bin/zsh

if (( $# > 0)); then
    Fs=${~@}
fi
#if [ -z "$TTY" ] ; then
#    urxvt -e $0 $Fs&!
#    sleep 0.5
#fi
echo $Fs;
if [ $Fs ] ; then 
    {for f in ${Fs}; do
	emacsclient $f 2>&/dev/null &
	done}
else
    emacsclient -c &
fi

wait