remote-emacs 341 B

123456789
  1. #!/bin/zsh
  2. # my-init.org [[id:../.emacs.d/1c3c73e8-185e-44bf-9234-51c7dae10d8b][create-remote-frame]]
  3. if [ $# -eq 0 ] ; then
  4. echo "Usage ${0} username@host"
  5. exit
  6. fi
  7. ssh ${1} -f emacsclient --eval '"(make-frame-on-display \"$DISPLAY\")"'
  8. # End my-init.org [[id:../.emacs.d/1c3c73e8-185e-44bf-9234-51c7dae10d8b][create-remote-frame]]