mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-10-16 11:40:46 +00:00
Compare commits
3 commits
aed341ae8b
...
024d3ebf4e
Author | SHA1 | Date | |
---|---|---|---|
|
024d3ebf4e | ||
|
f11cc8fea1 | ||
|
f25edf653f |
2 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
certifi==2024.8.30
|
||||
charset-normalizer==3.3.2
|
||||
idna==3.9
|
||||
idna==3.10
|
||||
PyYAML==6.0.2
|
||||
requests==2.32.3
|
||||
semver==3.0.2
|
||||
|
|
|
@ -34,11 +34,14 @@ if [[ "$TERM" == screen* ]]; then
|
|||
# tell GNU screen what the tab window title ($1) and the hardstatus($2) should be
|
||||
function screen_set()
|
||||
{
|
||||
# set the tab window title (%t) for screen
|
||||
print -nR $'\033k'$1$'\033'\\\
|
||||
|
||||
# set hardstatus of tab window (%h) for screen
|
||||
print -nR $'\033]0;'$2$'\a'
|
||||
|
||||
if [[ "$DISABLE_AUTO_TITLE" == true ]]; then
|
||||
return
|
||||
fi
|
||||
# set the tab window title (%t) for screen
|
||||
print -nR $'\033k'$1$'\033'\\\
|
||||
}
|
||||
# called by zsh before executing a command
|
||||
function preexec()
|
||||
|
|
Loading…
Reference in a new issue