1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-10-16 11:40:46 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
cono
024d3ebf4e
Merge f25edf653f into f11cc8fea1 2024-09-23 13:08:45 +03:00
dependabot[bot]
f11cc8fea1
chore(deps): bump idna in /.github/workflows/dependencies (#12688)
Bumps [idna](https://github.com/kjd/idna) from 3.9 to 3.10.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.9...v3.10)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-22 16:20:33 +02:00
cono
f25edf653f screen.plugin: Respect DISABLE_AUTO_TITLE variable as in core OMZ 2018-01-02 03:36:16 +02:00
2 changed files with 7 additions and 4 deletions

View file

@ -1,6 +1,6 @@
certifi==2024.8.30 certifi==2024.8.30
charset-normalizer==3.3.2 charset-normalizer==3.3.2
idna==3.9 idna==3.10
PyYAML==6.0.2 PyYAML==6.0.2
requests==2.32.3 requests==2.32.3
semver==3.0.2 semver==3.0.2

View file

@ -34,11 +34,14 @@ if [[ "$TERM" == screen* ]]; then
# tell GNU screen what the tab window title ($1) and the hardstatus($2) should be # tell GNU screen what the tab window title ($1) and the hardstatus($2) should be
function screen_set() function screen_set()
{ {
# set the tab window title (%t) for screen
print -nR $'\033k'$1$'\033'\\\
# set hardstatus of tab window (%h) for screen # set hardstatus of tab window (%h) for screen
print -nR $'\033]0;'$2$'\a' 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 # called by zsh before executing a command
function preexec() function preexec()