Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression of Patch for /csshX : Fix incompatibility with fish shell #50 #78

Open
jleider opened this issue Nov 5, 2015 · 3 comments
Open

Comments

@jleider
Copy link

jleider commented Nov 5, 2015

I am reopening this compatibility issue with the fish shell.

original issue: #50

@jamesrwhite
Copy link

I'm also having this issue, it's a shame as I have to keep temporarily switching back to zsh just to use csshx :(

@nreisbeck
Copy link

+1 for this issue still happening, it appears the patch from #50 has reverted.

@Jean-Daniel
Copy link

Jean-Daniel commented Oct 6, 2023

There is a new issue with fish an recent macOS version.

When executing the do script apple script command to launch a new window, the script is not executed when the shell is fish

For instance, the following apple script open a new termina window, but does not execute any command:

tell application "Terminal" to do script "echo Hello World"

It is easy to workaround that issue by first launching the terminal with a dummy command, and then execute the real script in the freshly opened window:

Replace

    my $tabobj = $terminal->doScript_in_($cmd, undef) || return;

by

    my $tabobj = $terminal->doScript_in_("clear", undef) || return;
    $terminal->doScript_in_($cmd, $tabobj) || return;

And by the way, new fish versions should support the bash syntax and not longer require the special case from #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants