Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-02 | fix(cli): allow `omz` commands to be used in a script (#10645) | Marc Cornellà | |
The commands `omz plugin {enable,disable}` and `omz theme set` automatically reload the zsh session on success. With this change, the CLI checks whether the commands are run in an interactive session before reloading the zsh session. This change also conditionally sets the completion function for `omz` so that it's not done in a non-interactive session. | |||
2022-01-24 | fix(cli): make sure to run `zsh` command if an alias exists (#9737) | Marc Cornellà | |
Fixes #9737 | |||
2022-01-22 | fix: do not call chpwd hooks in subshells | Marc Cornellà | |
2022-01-17 | refactor(cli): use self-referencing in subcommand functions | Marc Cornellà | |
2022-01-13 | fix: get branch name first in `omz version` and changelog | Marc Cornellà | |
2022-01-09 | fix(cli): follow symlinks in plugin or theme completions | Marc Cornellà | |
2022-01-03 | fix(lib): quote % in `nvm_prompt_info` | Marc Cornellà | |
2022-01-03 | fix(lib): quote % in `git_remote_status` | Marc Cornellà | |
2021-12-21 | fix(cli): respect `ZDOTDIR` in plugin/theme change commands (#10520) | Marc Cornellà | |
Fixes #10520 | |||
2021-12-16 | fix(cli): fix plugin and theme suggestions in completion for older zsh versions | Marc Cornellà | |
2021-12-13 | fix: quote % characters in ruby prompt info functions | Marc Cornellà | |
2021-12-13 | fix(lib): %-quote git prompt functions | Marc Cornellà | |
2021-11-30 | feat(cli): add `omz version` command | Marc Cornellà | |
2021-11-25 | fix(lib): don't error if `INSIDE_EMACS` is not defined (#10443) | Paul Scott | |
2021-11-11 | fix(lib): fix potential command injection in `title` and `spectrum` functions | Marc Cornellà | |
The `title` function unsafely prints its input without sanitization, which if used with custom user code that calls it, it could trigger command injection. The `spectrum_ls` and `spectrum_bls` could similarly be exploited if a variable is changed in the user's shell environment with a carefully crafted value. This is highly unlikely to occur (and if possible, other methods would be used instead), but with this change the exploit of these two functions is now impossible. | |||
2021-11-11 | fix(lib): fix `omz_urldecode` unsafe eval bug | Marc Cornellà | |
The `omz_urldecode` function uses an eval to decode the input which can be exploited to inject commands. This is used only in the svn plugin and it requires a complex process to exploit, so it is highly unlikely to have been used by an attacker. | |||
2021-11-10 | fix(cli): avoid `git -C` for compatibility with git < v1.8.5 (#10404) | Marc Cornellà | |
2021-11-09 | fix(cli): fix check for completion files in `omz plugin load` | Marc Cornellà | |
2021-11-09 | style: use `-n` flag in `head` and `tail` commands (#10391) | Kevin Burke | |
Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-11-02 | fix(lib): fix `1` alias to `cd` to directory 1 in stack (#10370) | Richard Mitchell | |
2021-10-25 | fix(cli): exit `omz update` with correct error code (#10342) | Sina Tak Tehrani | |
2021-10-10 | fix(lib): fix `diff --color` argument check for BSD systems (#10269) | michael-yuji | |
2021-10-09 | fix(lib): fix status exit code check in `git_prompt_status` (#10275) | Pooya Vahidi | |
2021-10-05 | fix(cli): fix zsh array syntax for szh 5.0.2 | Marc Cornellà | |
2021-10-04 | feat(cli)!: add `omz reload` command and deprecate `zsh_reload` plugin (#9078) | Monson Shao | |
BREAKING CHANGE: the `zsh_reload` plugin is deprecated. Instead of using its `src` function, use `omz reload` or `exec zsh` to reload zsh after making changes to your `.zshrc` file. Closes #9078 | |||
2021-09-30 | feat(cli): show current theme in `omz theme list` | Marc Cornellà | |
Fixes #9540 | |||
2021-09-30 | fix(cli): get branch and tags from OMZ folder in `omz changelog` completion | Marc Cornellà | |
2021-09-29 | feat(lib): don't correct `su` command arguments (#10214) | Celestino Gomes | |
2021-09-29 | fix(lib): fix automatic title abort inside Emacs (#10124) | Marc Cornellà | |
Closes #10124 Co-authored-by: Paul Schorfheide <pschorf2@gmail.com> Co-authored-by: Alastair Rankine <alastair@girtby.net> | |||
2021-09-22 | feat(lib): allow setting custom completion dots sequence (#9424) | Simon Rogers | |
Closes #9424 Closes #9703 Co-authored-by: mortezadadgar <mortezadadgar97@gmail.com> Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-08-18 | feat(cli): add `theme set` subcommand to change theme in .zshrc | Marc Cornellà | |
Fixes #9087 | |||
2021-08-18 | style(cli): print usage messages to stderr | Marc Cornellà | |
2021-08-17 | fix(lib): fix clipboard copy on Termux | Marc Cornellà | |
2021-08-17 | style(cli): fill rows in column output in theme and plugin `list` commands | Marc Cornellà | |
2021-08-17 | refactor(cli): extract substitution awk script in `plugin disable` | Marc Cornellà | |
2021-08-17 | fix(cli): fix multiple errors in `plugin disable/enable` | Marc Cornellà | |
2021-08-17 | feat(cli): add subcommands for plugin `enable` and `disable` (#9869) | pollyduan | |
Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-08-13 | feat(cli): add `plugin load` subcommand (#9872) | James Eapen | |
Fixes #9672 Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-08-10 | refactor(lib): refactor take functions | Marc Cornellà | |
2021-08-10 | feat(lib): add `mkcd` as equivalent to `takedir` (#9749) | Marc Cornellà | |
Fixes #9749 | |||
2021-06-17 | fix(lib): remove `kubectx` stub prompt function from lib | Marc Cornellà | |
Fixes #9974 | |||
2021-06-13 | feat(kubectx): adding a new plugin for 'kubectx' (#6114) | Stanisław Szydło | |
Co-authored-by: Marc Cornellà <marc.cornella@live.com> Co-authored-by: Robby Russell <robby@planetargon.com> | |||
2021-06-11 | feat(take): add support to `take' for taking remote urls (#2029) | Mitchel Humpherys | |
Download, extract, and cd into the resulting directory. Co-authored-by: Mitchel Humpherys <mitchelh@codeaurora.org> | |||
2021-03-25 | fix: use `$USERNAME` guaranteed to always be defined in zsh | Marc Cornellà | |
Fixes #9701 | |||
2021-03-08 | fix(terraform): use faster method to get workspace (#9709) | Vlad Korolev | |
Also add tf_prompt_info to the list of prompt functions so theme writers are aware of it | |||
2021-03-01 | fix(update): don't error on upgrade no-op (#9685) | Cai Cooper | |
* Don't error on upgrade no-op No error code is required for a non failure scenario. * Manually check whether changes were pulled in `omz update` Co-authored-by: Marc Cornellà <hello@mcornella.com> | |||
2021-01-16 | fix(lib): use -N syntax in `head` and `tail` to support Solaris (#6391) | Marc Cornellà | |
Closes #6391 Co-authored-by: Sergey Mashkov <cy6erGn0m@gmail.com> | |||
2021-01-07 | fix(lib): update Emacs terminal detection in `title` function (#9577) | Kyle Gerard Felker | |
Environment variable EMACS was replaced by INSIDE_EMACS | |||
2021-01-05 | fix(CLI): show symlinked themes in `omz theme list` | Marc Cornellà | |
2021-01-03 | feat(CLI): add `plugin info` subcommand (#9452) | Fernando Crespo | |
Co-authored-by: Fernando Crespo <fxcrespo@iMac-44054.local> Co-authored-by: Marc Cornellà <marc.cornella@live.com> |