waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

Hope to add feature: set default shell

Open a15355447898a opened this issue 1 year ago • 15 comments

Is your feature request related to a problem? Please describe. When my system's shell is bash, but I want to use fish as my terminal shell, I find that currently I can't do that.

Describe the solution you'd like I want to add a setting that allows users to set the default shell for the terminal.

image

a15355447898a avatar Nov 26 '23 13:11 a15355447898a

Thanks for submitting. We don't currently support fish. Right now the product only supports bash. We are planning on adding zsh support, but we likely won't support fish in the near term. The reason is that we're trying to build a lot of the usability features in fish right into Wave directly.

sawka avatar Nov 27 '23 17:11 sawka

I also wanted to change the shell to fish, which is set as my default, as soon as I found out that the shell doesn't behave normally. I was surprised to see that the terminal doesn't respect the system defaults, and furthermore that it's not shell-agnostic.

nukeop avatar Dec 10 '23 12:12 nukeop

it should respect the default system shell. i use fish, so this is a deal breaker for me.

szamanr avatar Mar 27 '24 11:03 szamanr

Agree with the sentiment, please consider making the product shell-agnostic.

This would even engage windows users who are stuck in WSL trying to deploy Wave or powershell perhaps.

RyzeNGrind avatar May 03 '24 19:05 RyzeNGrind

Sadly warp doesn't care about fish users either.. oh well, back to the default terminal then I guess.

pnunn avatar Jun 28 '24 05:06 pnunn

bu bye (need fish compat).

pjv avatar Jun 28 '24 10:06 pjv

Related to #144 ?

jokeyrhyme avatar Sep 08 '24 09:09 jokeyrhyme

Since this is legacy now and all shells are supported. It should be pretty easy to let the user choose, which shell is used by default for a terminal block, in the config.

tristanRW avatar Oct 03 '24 09:10 tristanRW

+1 for this!

lokize avatar Oct 11 '24 12:10 lokize

So fish works now?

jubishop avatar Oct 17 '24 23:10 jubishop

Yes. You can find the exact setting on the configuration-page on the website. You will have to edit the config-file and set the default shell path for new terminal blocks to fishs path.

tristanRW avatar Oct 17 '24 23:10 tristanRW

Thanks that does give me fish but none of my opening config files seem to run.

jubishop avatar Oct 18 '24 20:10 jubishop

@jubishop does fish load different settings files depending on whether it was launched as a "login shell" or not? I wonder if waveterm does or does not launch shells in this mode?

jokeyrhyme avatar Oct 18 '24 23:10 jokeyrhyme

Yes it does but even basic etc/profile isn’t running which should be fired further up stack from anything fish is doing

cheers,

On October 18, 2024, GitHub Notifications @.***> wrote:

@jubishop https://github.com/jubishop does fish load different settings files depending on whether it was launched as a "login shell" or not? I wonder if waveterm does or does not launch shells in this mode?

— Reply to this email directly, view it on GitHub https://github.com/wavetermdev/waveterm/issues/91#issuecomment-2423376247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADG3KBG52QJJD434Y5O3LZ4GMEDAVCNFSM6AAAAAA723PH7CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGM3TMMRUG4 . You are receiving this because you were mentioned.Message ID: @.***>

jubishop avatar Oct 19 '24 00:10 jubishop