Skip to content

Instantly share code, notes, and snippets.

@xuchunyang
Created April 9, 2018 09:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuchunyang/5a7af032042df9598d58db6d5b3e57d4 to your computer and use it in GitHub Desktop.
Save xuchunyang/5a7af032042df9598d58db6d5b3e57d4 to your computer and use it in GitHub Desktop.
emacsclient fish shell completion
complete -c emacsclient -l version -s V -d "Just print version info and return"
complete -c emacsclient -l help -s h -d "Print this usage information message"
complete -c emacsclient -l tty -s t -o nw -d "Open a new Emacs frame on the current terminal"
complete -c emacsclient -l create-frame -s c -d "Create a new frame instead of trying to use the current Emacs frame"
complete -c emacsclient -l frame-parameters -s F -d "Set the parameters of a new frame"
complete -c emacsclient -l eval -s e -d "Evaluate the FILE arguments as ELisp expressions"
complete -c emacsclient -l no-wait -s n -d "Don't wait for the server to return"
complete -c emacsclient -l quiet -s q -d "Don't display messages on success"
complete -c emacsclient -l suppress-output -s u -d "Don't display return values from the server"
complete -c emacsclient -l display -s d -d "Visit the file in the given display"
complete -c emacsclient -l parent-id -d "Open in parent window ID, via XEmbed"
complete -c emacsclient -l socket-name -s s -d "Set filename of the UNIX socket for communication"
complete -c emacsclient -l server-file -s f -d "Set filename of the TCP authentication file"
complete -c emacsclient -l alternate-editor -s a -d "Editor to fallback to if the server is not running If EDITOR is the empty string, start Emacs in daemon mode and try connecting again"
complete -c emacsclient -l tramp -s T -d "PREFIX to prepend to filenames sent by emacsclient for locating files remotely via Tramp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment