You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
122B

  1. #!/bin/bash
  2. if [ -z $@ ]
  3. then
  4. ls /run/user/1000/emacs/
  5. else
  6. IFS='';session=$@
  7. emacsclient -a "" -ncs $session
  8. fi