Created
May 1, 2013 06:47
-
-
Save tsu-nera/5494052 to your computer and use it in GitHub Desktop.
Emacs デーモン起動シェル -r オプションで再起動
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # option -r is Reboot | |
| if [ "$1" = "-r" ]; then | |
| echo "Reboot Emacs Daemon" | |
| emacsclient -e '(kill-emacs)' | |
| fi | |
| # start emacs | |
| emacs --daemon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment