diff options
author | Marcus Müller <marcus@hostalia.de> | 2022-06-19 12:32:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 12:32:16 +0200 |
commit | 4c82a2eedf0c43d47601ffa8b0303ed1326fab8f (patch) | |
tree | 8bfbd6274200a2cb7725d4d68d50570fbf327436 /plugins | |
parent | 8168ec0174e7e3212be20ecc74810155772abff1 (diff) | |
download | zsh-4c82a2eedf0c43d47601ffa8b0303ed1326fab8f.tar.gz zsh-4c82a2eedf0c43d47601ffa8b0303ed1326fab8f.tar.bz2 zsh-4c82a2eedf0c43d47601ffa8b0303ed1326fab8f.zip |
fix(emacs): fix check for open frames w/ extra output (#10992)
Diffstat (limited to 'plugins')
-rwxr-xr-x | plugins/emacs/emacsclient.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/emacs/emacsclient.sh b/plugins/emacs/emacsclient.sh index 25efe0d68..96893c932 100755 --- a/plugins/emacs/emacsclient.sh +++ b/plugins/emacs/emacsclient.sh @@ -11,7 +11,7 @@ emacsfun() { esac # Check if there are suitable frames - frames="$(emacsclient -a '' -n -e "$cmd" 2>/dev/null)" + frames="$(emacsclient -a '' -n -e "$cmd" 2>/dev/null |sed 's/.*\x07//g' )" # Only create another X frame if there isn't one present if [ -z "$frames" -o "$frames" = nil ]; then |