Guest User

Untitled

a guest
May 26th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/bash
  2. uid=`id -u`
  3. socket=`find /var/folders -name server -type s -uid ${uid} 2>| /dev/null | grep emacs`
  4. if [ -e "${socket}" ]
  5. then
  6. /usr/local/bin/emacsclient -s "${socket}" "$@"
  7. fi
Add Comment
Please, Sign In to add comment