Add emacsclient-other-window

This commit is contained in:
Alexander Rosenberg 2024-03-04 22:58:02 -08:00
parent e30b1ecaff
commit 85f9c5c4f6
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

8
emacsclient-other-window Executable file
View File

@ -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#\"#\\\"#}\")"