1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 22:33:52 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Saurabh Charde
1d3427dc77 shell integration: check existence of hostname command before calling
base arch linux installation doesn't include `hostname` binary as it's part of
a separate `inetutils` package, use systemd `hostnamectl` which is available in
all systemd-based distributions
2023-01-24 12:21:41 -08:00
Wez Furlong
e725d68f08
docs: shell-integration: cover the new built-in user-vars 2023-01-23 10:50:49 -07:00
Wez Furlong
d8ffbd6b31
shell integration: set some handy user vars by default 2023-01-23 09:29:55 -07:00
Wez Furlong
78ea214a96 avoid modern bash feature when testing for BLE_VERSION
refs: #1572
2022-01-22 08:07:50 -07:00
Sandro Jäckel
56e9a9af7e Add support for blesh hooks 2022-01-21 09:22:58 -08:00
Sandro Jäckel
3cc26cc7b8 Tell shellcheck the right shell that not everyting lights up like a christmas tree 2022-01-21 09:22:58 -08:00
Sandro Jäckel
66b6f9e6d0 Passthru exit code for other commands in $PROMPT_COMMAND 2021-12-10 20:50:38 -08:00
Wez Furlong
8e0fd3717e wezterm.sh: improve non-bash/non-zsh behavior
When we're not being run by bash or zsh then we can't use
bashisms to test that we're bash or zsh.

Just use good old posix test syntax instead.

refs: #447
2021-01-30 12:42:01 -08:00
Wez Furlong
eb22808761 wezterm: add shell integration for bash and zsh
This commit provides a shell script that hooks into bash and zsh
to enable OSC 7 and semantic zones.

The packaging for Fedora and Debian deploys that script to
/etc/profile.d.
2020-11-14 09:07:56 -08:00