dotfiles/.local/bin/scripts/emacstty

5 lines
131 B
Plaintext
Raw Normal View History

#!/bin/sh
2022-06-22 15:59:29 +00:00
# Emacs in the terminal
pgrep --full "emacs --daemon" >/dev/null || emacs --daemon
emacsclient --create-frame --tty "$@"