Skip to content

Instantly share code, notes, and snippets.

@lamdor
Created May 22, 2014 15:14
Show Gist options
  • Select an option

  • Save lamdor/c0f2317b21ef06d68c64 to your computer and use it in GitHub Desktop.

Select an option

Save lamdor/c0f2317b21ef06d68c64 to your computer and use it in GitHub Desktop.
#!/bin/bash
EMACSCLIENT=/usr/local/bin/emacsclient
ALT=$HOME/bin/start-emacs
if [ "$1" = "-e" ]; then
$EMACSCLIENT "$@"
else
$EMACSCLIENT -c -a $ALT "$@"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment