Age | Commit message (Collapse) | Author |
|
Fixes #11683
Related: 50c6786
|
|
|
|
Closes #8827
|
|
(#11703)
|
|
The Konsole terminal shows an error if the host is provided in the
OSC 7 sequence.
Fixes #11730
|
|
Closes #11709
|
|
|
|
To disable gnu-ls (`gls`) even if it's installed in freeBSD and macOS
you can set it up with:
```zsh
zstyle ':omz:lib:theme-and-appearance' gnu-ls no
```
Closes #11647
|
|
|
|
Previously this was only emitted on macOS with Apple's Terminal.app (and
compatible clones like iTerm2), but it is used by other terminal emulators
as well to obtain the actual current working directory wiht symlinks intact.
All non-supporting terminal emulators tested gracefully ignored this value,
so emit this on these as well in case they (or some other app masquarading
as them) add future support for this value.
Closes #9914
Co-authored-by: Marc Cornellà <hello@mcornella.com>
|
|
Signed-off-by: Christian Parpart <christian@parpart.family>
|
|
BREAKING CHANGE: the previous zstyle setting to disable `lib/directories.zsh` aliases has
been changed to the new syntax: `zstyle ':omz:lib:directories' aliases no`. See
https://github.com/ohmyzsh/ohmyzsh#skip-aliases to see other ways you can use this setting.
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
|
|
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
Closes #11574
Closes #11579
|
|
As reported by https://geoff.greer.fm/lscolors
Fixes #11554
|
|
This fixes an edge case where the user actually sets
zstyle ':completion:*' list-colors
in their zshrc, but the previous code used a precmd hook, which would
override the user changes. With this change our modifications will be
set in the init script, after the theme loads, so that later changes
can affect our defaults.
Note that this will not be run for users on plugin managers, as these
don't generally run our init script.
|
|
Co-authored-by: Andrew Janke <janke@pobox.com>
Co-authored-by: Marcelo Parada <marcelo.parada@axoninsight.com>
Co-authored-by: Uy Ha <hchanuy@gmail.com>
Co-authored-by: Valentin Uveges <valentin.uveges@gmail.com>
|
|
Fixes #11098
|
|
|
|
|
|
Fixes #11524
|
|
|
|
Fixes #11500
|
|
BREAKING CHANGE: This commit removes aliases for some commands that
previously were not being autocorrected. If you are using
autocorrection, please check it.
|
|
|
|
Co-authored-by: hagridaaron <hagridaaron@gmail.com>
Co-authored-by: Terry <tmoschou@gmail.com>
Closes #8847
|
|
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
|
|
Closes #11416
Closes #11454
|
|
|
|
Closes #8827
|
|
This reverts commit 3dd83a22a160249a71631a51490fd3b89d1b3975.
See https://github.com/ohmyzsh/ohmyzsh/issues/11314#issuecomment-1379492472
|
|
Window and tab titles are changed by emitting an unprintable escape
sequence to the terminal. These escape sequences do not play nicely
with the TAB character on multiple terminal emulators--they create
un-deletable characters on the first line after command execution.
Sending "\r" after changing the window and tab titles allows all
characters on the first line to be deleted.
Fixes #11314
|
|
Co-authored-by: Marc Cornellà <hello@mcornella.com>
|
|
|
|
In BSD awk, \s is not a valid sequence interchangeable with "space or tab characters"
as it is in GNU awk. This fix uses [ \t] instead, which is all the possibilities that
we need to contemplate when reading the .zshrc file.
Fixes #11146
|
|
|
|
|
|
|
|
See #10925
|
|
|
|
Fixes #10925
|
|
Fixes https://github.com/ohmyzsh/ohmyzsh/commit/140c977a3d82410f48c198596de193d2d6b7b9b5#commitcomment-73688165
|
|
`parse_git_dirty`" (#10927)
|
|
|
|
|
|
Since `set -e` is enabled, when `commit.gpgsign` is not set the
`git config` command would show an error. Given that it is technically
not ignored, the subshell would exit.
With this change, the `commit.gpgsign` setting is properly tested
by doing the fallback test if the command fails, so no exit status
code ends up quiting the subshell.
|
|
Co-authored-by: Marc Cornellà <hello@mcornella.com>
|
|
Co-authored-by: Markus Arians <markus.arians@andrena.de>
|
|
|
|
|
|
This lib function applies a patch to the VCS_INFO_formats function
in zsh versions from v5.0.3 until v5.8, which don't quote % chars
in some arguments received. Normally that just means that some
% characters in these strings (branch names, directories, etc.)
will be incorrectly parsed as formatting sequences.
With CVE-2021-45444, however, this means that one of these strings
from a malicious source (e.g. a malicious git repository) can
trigger command injection and run arbitrary code in the user's
machine when visiting such git repository.
Zsh 5.8.1 fixes this vulnerability [1], but older vcs_info setups
still need a workaround such as this one to patch the vulnerability.
[1] https://github.com/zsh-users/zsh/commit/c3ea1e5d52eff8b7b172fa8c1ccc3462b43b2790
|