xeruf 2022-08-30 15:49:25 +02:00
parent e023ff95e6
commit c7e315784f
1 changed files with 3 additions and 0 deletions

View File

@ -2,3 +2,6 @@
# Emacs in the terminal
pgrep --full "emacs --daemon" >/dev/null || emacs --daemon
emacsclient --create-frame --tty "$@"
exit=$?
stty sane
exit $exit