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

Cannot use editor in fish shell #2357

Closed
justhsu opened this issue Nov 16, 2024 · 1 comment
Closed

Cannot use editor in fish shell #2357

justhsu opened this issue Nov 16, 2024 · 1 comment

Comments

@justhsu
Copy link

justhsu commented Nov 16, 2024

I recently switched to fish shell (3.7.1) from zsh, and since I switched I have been unable to use the editor in fugitive. For instance, :G and ca gives the error:

error: sh /var/folders/rt/byl_72vn5n36snpnzk_rrx8c0000gn/T/vlevmG1/7.sh died of signal 9
error: there was a problem with the editor 'sh /var/folders/rt/byl_72vn5n36snpnzk_rrx8c0000gn/T/vlevmG1/7.
sh'
Please supply the message using either -m or -F option.

Running :! which sh shows that sh is bash, not fish shell, so I am not sure what might be wrong. This error doesn't happen under zsh or sh.

@tpope
Copy link
Owner

tpope commented Nov 17, 2024

Fish is known to work; this is likely something on your end. You could try narrowing down by running env SHELL=/bin/bash vim inside Fish, and vice versa, to find out if it's the parent shell or the default shell.

@tpope tpope closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2024
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

2 participants