Skip to content

Instantly share code, notes, and snippets.

@ivey
Created December 9, 2009 20:53
Show Gist options
  • Save ivey/252802 to your computer and use it in GitHub Desktop.
Save ivey/252802 to your computer and use it in GitHub Desktop.
# sudo/tramp friendly version of my edit command
# invokes Emacs on the file, but using sudo
function sedit() {
edit /sudo::$*
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment