๐Ÿ“ฆ gimbo / ew.zsh

๐Ÿ“„ esl ยท 10 lines
1
2
3
4
5
6
7
8
9
10# List the currently running emacs servers, and any emacs processes.
#
if [[ -e "$EMACSTMP" ]]; then
    ls -a -1 $EMACSTMP | sort
else
    echo "No emacs servers running."
fi
echo
pgrep -il emacs