diff --git a/emacsclient-other-window b/emacsclient-other-window new file mode 100755 index 0000000..6c95e0c --- /dev/null +++ b/emacsclient-other-window @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh + +# Note, this ONLY works when called with an existing emacs frame focused + +# print the normal error message with no args +(( $# < 1 )) && exec emacsclient + +exec emacsclient --eval "(find-file-other-window \"${1:gs#\\#\\\\#:gs#\"#\\\"#}\")"