diff options
| author | fossdd <fossdd@pwned.life> | 2025-01-23 20:43:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 20:43:27 +0100 |
| commit | 69410e702014b6f6f09f659a5747c5a6ace7a09a (patch) | |
| tree | c4a3ac6e9b17e85fcc372853a932320c95ba27cb /plugins/foot/foot.plugin.zsh | |
| parent | 4e29c670a48a17276d04b3e47262b10f28dfcc0b (diff) | |
| download | zsh-69410e702014b6f6f09f659a5747c5a6ace7a09a.tar.gz zsh-69410e702014b6f6f09f659a5747c5a6ace7a09a.tar.bz2 zsh-69410e702014b6f6f09f659a5747c5a6ace7a09a.zip | |
feat(foot): add foot plugin (#12849)
Diffstat (limited to 'plugins/foot/foot.plugin.zsh')
| -rw-r--r-- | plugins/foot/foot.plugin.zsh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/foot/foot.plugin.zsh b/plugins/foot/foot.plugin.zsh new file mode 100644 index 000000000..c1d077e26 --- /dev/null +++ b/plugins/foot/foot.plugin.zsh @@ -0,0 +1,10 @@ +function precmd { + print -Pn "\e]133;A\e\\" + if ! builtin zle; then + print -n "\e]133;D\e\\" + fi +} + +function preexec { + print -n "\e]133;C\e\\" +} |
