summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-11-10fix(cli): avoid `git -C` for compatibility with git < v1.8.5 (#10404)Marc Cornellà
2021-11-09fix(cli): fix check for completion files in `omz plugin load`Marc Cornellà
2021-11-09style: use `-n` flag in `head` and `tail` commands (#10391)Kevin Burke
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-11-02fix(lib): fix `1` alias to `cd` to directory 1 in stack (#10370)Richard Mitchell
2021-10-25fix(cli): exit `omz update` with correct error code (#10342)Sina Tak Tehrani
2021-10-10fix(lib): fix `diff --color` argument check for BSD systems (#10269)michael-yuji
2021-10-09fix(lib): fix status exit code check in `git_prompt_status` (#10275)Pooya Vahidi
2021-10-05fix(cli): fix zsh array syntax for szh 5.0.2Marc Cornellà
2021-10-04feat(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-30feat(cli): show current theme in `omz theme list`Marc Cornellà
Fixes #9540
2021-09-30fix(cli): get branch and tags from OMZ folder in `omz changelog` completionMarc Cornellà
2021-09-29feat(lib): don't correct `su` command arguments (#10214)Celestino Gomes
2021-09-29fix(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-22feat(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-18feat(cli): add `theme set` subcommand to change theme in .zshrcMarc Cornellà
Fixes #9087
2021-08-18style(cli): print usage messages to stderrMarc Cornellà
2021-08-17fix(lib): fix clipboard copy on TermuxMarc Cornellà
2021-08-17style(cli): fill rows in column output in theme and plugin `list` commandsMarc Cornellà
2021-08-17refactor(cli): extract substitution awk script in `plugin disable`Marc Cornellà
2021-08-17fix(cli): fix multiple errors in `plugin disable/enable`Marc Cornellà
2021-08-17feat(cli): add subcommands for plugin `enable` and `disable` (#9869)pollyduan
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-08-13feat(cli): add `plugin load` subcommand (#9872)James Eapen
Fixes #9672 Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-08-10refactor(lib): refactor take functionsMarc Cornellà
2021-08-10feat(lib): add `mkcd` as equivalent to `takedir` (#9749)Marc Cornellà
Fixes #9749
2021-06-17fix(lib): remove `kubectx` stub prompt function from libMarc Cornellà
Fixes #9974
2021-06-13feat(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-11feat(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-25fix: use `$USERNAME` guaranteed to always be defined in zshMarc Cornellà
Fixes #9701
2021-03-08fix(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-01fix(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-16fix(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-07fix(lib): update Emacs terminal detection in `title` function (#9577)Kyle Gerard Felker
Environment variable EMACS was replaced by INSIDE_EMACS
2021-01-05fix(CLI): show symlinked themes in `omz theme list`Marc Cornellà
2021-01-03feat(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>
2021-01-02fix(lib): mark changes as MODIFIED on 'MM' in `git_prompt_status` (#9552)Seamile
In the output of `git status -sb`, 'MM' indicates there are both added and modified changes. This change marks that case as MODIFIED instead of ADDED.
2020-12-31fix(CLI): properly get zsh command in `omz update` (#9558)Marc Cornellà
Zsh versions older than 5.3 don't have ZSH_ARGZERO, so use an alternative method to get the zsh command. Fixes #9558
2020-12-10chore!: notify breaking change in `git_prompt_info`Marc Cornellà
BREAKING CHANGE: the git config option to skip running `git_prompt_info` has changed from `oh-my-zsh.hide-status` to `oh-my-zsh.hide-info` (#9188).
2020-12-10feat(lib): show upstream branch in `git_prompt_info` (#9188)Bruno Borges
Show the remote branch the local branch is tracking if `ZSH_THEME_GIT_SHOW_UPSTREAM` is set, like so: `ZSH_THEME_GIT_SHOW_UPSTREAM=1`. Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-12-07feat(lib)!: soft-deprecate `upgrade_oh_my_zsh` function for everybodyMarc Cornellà
BREAKING CHANGE: the `upgrade_oh_my_zsh` function now calls `omz update` directly.
2020-12-07fix(updater): don't show changelog when running unattended update (#9495)Marc Cornellà
Fixes #9495
2020-12-04feat(CLI): add `--unattended` flag to `omz update` to not reload zsh (#9187)Marc Cornellà
2020-11-30feat(CLI): add `omz changelog` commandMarc Cornellà
2020-11-30fix(updater): correctly restart the zsh session when the update pulled changesMarc Cornellà
2020-11-30refactor(updater): switch to Zsh execution and fix git remote detection logicMarc Cornellà
2020-11-09fix(lib): make opts local in omz_urlencode to fix scoping bugMarc Cornellà
Fixes error message when using zplug, due to $opts having been declared as an associative array: omz_urlencode:2: bad set of key/value pairs for associative array Fixes #9429
2020-11-09Revert "lib: remove share_history"Marc Cornellà
This reverts commit 23760228908d14a4644718869d5ebfb7b0dde6a7. Fixes #9430
2020-10-27lib: delete zsh session history listMarc Cornellà
NOTE: it still lives somewhere in the current zsh process. Run `fc -P` to restore it.
2020-10-21Revert "lib: treat _ and - as part of a word"Marc Cornellà
This reverts commit 50dc4ab3574f4e265dff816d8d9a0195cd260152. The community has spoken: - https://github.com/ohmyzsh/ohmyzsh/issues/9367 - https://github.com/ohmyzsh/ohmyzsh/issues/8743 Fixes #9367
2020-10-20lib: follow symlinked plugins in `plugin list` CLI commandMarc Cornellà
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
2020-10-18lib: allow bare output in theme and plugins list commandMarc Cornellà