feat(shell-integration): add automatic integration for Elvish

Fish automatic integration taken as an example.
Just like fish, Elvish checks `XDG_DATA_DIRS` for its modules.
Thus, Fish integration in zig is reused, and integration in
Elvish now removes `GHOSTTY_FISH_XDG_DIR` environment variable
on launch.
This commit is contained in:
ilk
2024-05-16 23:59:02 +03:00
committed by Mitchell Hashimoto
parent 1032cdb68f
commit 1fa830cc73
4 changed files with 39 additions and 5 deletions

View File

@@ -3414,6 +3414,7 @@ pub const ShellIntegration = enum {
bash,
fish,
zsh,
elvish,
};
/// Shell integration features