feat(zsh): properly set tab titles
This commit is contained in:
parent
0a49828075
commit
ca859c8410
@ -172,3 +172,13 @@ File-Strip-Blank() {
|
|||||||
mv "${file}" "${file//[[:blank:]]/-}"
|
mv "${file}" "${file//[[:blank:]]/-}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
precmd() {
|
||||||
|
if [[ -n "${WEZTERM_PANE}" ]]; then
|
||||||
|
echo "\x1b]0;wezterm\x1b\\"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
preexec() {
|
||||||
|
echo "\x1b]0;${2}\x1b\\"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user