summaryrefslogtreecommitdiff
path: root/lib/cli.zsh
AgeCommit message (Collapse)Author
2021-12-21fix(cli): respect `ZDOTDIR` in plugin/theme change commands (#10520)Marc Cornellà
Fixes #10520
2021-12-16fix(cli): fix plugin and theme suggestions in completion for older zsh versionsMarc Cornellà
2021-11-30feat(cli): add `omz version` commandMarc Cornellà
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-10-25fix(cli): exit `omz update` with correct error code (#10342)Sina Tak Tehrani
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-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-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-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-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>
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-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-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à
2020-10-18lib: use `column` to format plugin and theme list CLI commandsMarc Cornellà
2020-10-10lib: fix `omz help` and rewordMarc Cornellà
2020-10-10lib: fix fmt removing ESC characters in theme and plugin list CLI commandsMarc Cornellà
2020-10-09lib: fix formatting in `omz pr clean` CLI commandMarc Cornellà
2020-10-09lib: add plugin and theme subcommands and fix `omz pr clean`Marc Cornellà
- Add plugin and theme subcommand Fixes #8961 - Add confirmation prompt to `omz pr clean` command - Correct behavior on invalid answers on confirmation prompts If an invalid option is supplied, don't proceed with the potentially destructive action. Co-authored-by: Rishabh Bohra <rishabhbohra01@gmail.com>
2020-08-18Remove zsh session restart on omz update and upgrade_oh_my_zshMarc Cornellà
2020-08-17Fix upgrade_oh_my_zsh function deprecationMarc Cornellà
2020-08-04cli: add update command (#9094)Dario Vladović
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-07-03cli: beauty touches on 'omz pr test' commandMarc Cornellà
2020-05-20Prefix cd calls with `builtin` (#8937)Jacob Menke
2020-05-01core: move core folder to lib, for nowMarc Cornellà