spacemacs start server code example
Example: spacemacs start server
#!/usr/bin/env zsh# Checks if there's a frame openemacsclient -n -e “(if (> (length (frame-list)) 1) ‘t)” 2> /dev/null | grep t &> /dev/nullif [ “$?” -eq “1” ]; then emacsclient -a ‘’ -nqc “$@” &> /dev/nullelse emacsclient -nq “$@” &> /dev/nullfi