Skip to content

Add support for fish (shell) 🐠#126

Open
common-nighthawk wants to merge 1 commit into
thoughtbot:masterfrom
common-nighthawk:master
Open

Add support for fish (shell) 🐠#126
common-nighthawk wants to merge 1 commit into
thoughtbot:masterfrom
common-nighthawk:master

Conversation

@common-nighthawk

Copy link
Copy Markdown

I'd like to add support for the fish shell.

Because this plugin runs system commands, many of the calls need to be mapped. (This is already done for the clear command, for example.)

Fish (notoriously) does not support && in system calls. The prefered method is COMMAND; and COMMAND2

if &shell[-4:] == "fish" is not incredibly elegant, but it's not terrible? If you are able to review, would love to hear your thoughts.

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

Successfully merging this pull request may close these issues.

1 participant