Commit 03152cc
perf(wezterm): pre-resolve WEZTERM_HOSTNAME to skip a hostname fork per prompt
wezterm.sh's __wezterm_user_vars_precmd hook forks `hostname` on every
prompt when WEZTERM_HOSTNAME is unset. Setting it once at shell start
avoids that repeated fork.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent c7ff564 commit 03152cc
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
0 commit comments