wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
18.11k stars 809 forks source link

pick terminal profile on startup #5575

Open goyalyashpal opened 5 months ago

goyalyashpal commented 5 months ago

Is your feature request related to a problem? Please describe.

My usecase requires me to use different shells at different times. Currently it is not possible in wezterm to specify a different shell for current tab on startup on the go (i.e. in same window, without fiddling in configurations etc).

Describe the solution you'd like

Some option to enable a dialog asking for which shell/termial profile to use for opening the current wezterm tab.

Describe alternatives you've considered

Additional context

I looked into the command palette (Ctrl-Shift-p) of wezterm too, but i couldn't find a related entry

$ wezterm --version
wezterm 20240203-110809-5046fc22

$ systeminfo | grep -Ei '^os (n|v)|system t'
OS Name:                   Microsoft Windows 10 Home Single Language
OS Version:                10.0.19045 N/A Build 19045
System Type:               x64-based PC
inquisitev commented 5 months ago

Hi @goyalyashpal, have you considered using wezterm start. You can configure wezterm to spawn windows and tabs and split the windows, change directory, run initial command, ect. you can even add args to wezterm start.

I am personally planning to implement something similar to wezterm start -- webdev for work

goyalyashpal commented 5 months ago

have you considered using wezterm start

hi! if i recall correct, it opens a new window; and the calling tab has to keep running too.

both of these are no no.