Created
December 1, 2012 07:10
-
-
Save emasaka/4180933 to your computer and use it in GitHub Desktop.
nautilus script: send to running emacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# nautilus script: send to running emacs | |
echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | xargs -I XX sh -c 'emacsclient -e "(find-file \"XX\")" || gdialog --msgbox "coluld not open XX"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment