-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Integrated Terminal - Added support Fish Shell #1908
base: main
Are you sure you want to change the base?
Conversation
Add the fish shell to the enums and reading the config.fish only at present.
Thought installing fish through homebrew would install under /bin/ path but that's not the case. Add few UI changes to select and test out the shell though not working at the moment.
Added the shell script to locate the fish config and use it. Had forgot about it intially, on how we can locate the original fish shell config.
|
||
var url: String { | ||
switch self { | ||
case .bash: | ||
"/bin/bash" | ||
case .zsh: | ||
"/bin/zsh" | ||
case .fish: | ||
"/opt/homebrew/bin/fish" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nis-ship-it Is this safe to assume that the fish binary will always be installed by homebrew?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it might be different so I will try to figure on how to obtain path
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might look at how other editors handle this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving a change request review here while you look at the path issues mentioned earlier.
At this stage, we're basically running a process that calls zsh shell to run which fish and get the path.
It would be nice if it defaulted to zsh/bash when Fish isn’t available. A small red message in the terminal like |
@tom-ludwig I was thinking also the same switching to zsh since it's by default |
Description
Add the fish shell to the enums and reading the config.fish only at present.
Related Issues
Checklist
Screenshots