786a4c85515abd2bab9bfb93b886b0f13a969360
Previously we had the logic for this in wezterm itself; it would know how to figure out which shell to run, or whether we should run a different program by default (the `default_prog` setting). This was OK, but when I added support for ssh we hit a conceptual issue: the local side of the ssh session doesn't have any information about the shell that should be invoked on the remote side and instead needs to ask the remote to figure that out. The interfaces defined in the code didn't allow for this. This commit formalizes the concept of a default program and allows it to be carried through to the pty layer, including over ssh sessions. Since we now have enough smarts to figure out the local shell and the local home dir, I've removed the logic that run `login -pf` on macos by default; this should make the terminal startup very slightly faster on macos, but since I'm currently on a windows system, I can only test linux and windows on this side of this commit. I'll follow up on macos later.
Wez's Terminal
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
User facing home page at: https://wezfurlong.org/wezterm/
Screenshot of wezterm on macOS, running vim
Installation
https://wezfurlong.org/wezterm/installation.html
Getting help
This is a spare time project, so please bear with me. There are two channels for support:
- You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one: https://github.com/wez/wezterm/issues
- There is a gitter room for (potentially!) real time discussions: https://gitter.im/wezterm/Lobby
The gitter room is probably better suited to questions than it is to bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
316 MiB
0 Stars
2 Watchers
0 Forks
Languages
Rust
97.7%
Python
1%
Shell
0.9%
Nix
0.2%
