mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 15:08:34 +00:00
* add automatic OSC 7 support to bash and zsh * add new wave OSC 16162 (planck length) to get up-to-date shell information into blockrtinfo. currently implemented only for zsh. bash will not support as rich of data as zsh, but we'll be able to do some. * new rtinfo will be used to provide better context for AI in the future, and to make sure AI is running safe commands. * added a small local machine description to tab context (so AI knows we're running on MacOS, Linux, or Windows)
10 lines
No EOL
342 B
Bash
10 lines
No EOL
342 B
Bash
# this file is sourced with -C
|
|
# Add Wave binary directory to PATH
|
|
set -x PATH {{.WSHBINDIR}} $PATH
|
|
|
|
# Source dynamic script from wsh token (the echo is to prevent fish from complaining about empty input)
|
|
wsh token "$WAVETERM_SWAPTOKEN" fish 2>/dev/null | source
|
|
set -e WAVETERM_SWAPTOKEN
|
|
|
|
# Load Wave completions
|
|
wsh completion fish | source |