Marc Cornellà
1d166eaaa1
fix(cli): avoid `git -C` for compatibility with git < v1.8.5 ( #10404 )
4 years ago
Marc Cornellà
9a11b34101
fix(cli): fix check for completion files in `omz plugin load`
4 years ago
Sina Tak Tehrani
1e5e834e0f
fix(cli): exit `omz update` with correct error code ( #10342 )
4 years ago
Marc Cornellà
b621eee21f
fix(cli): fix zsh array syntax for szh 5.0.2
5 years ago
Monson Shao
be4a952972
feat(cli)!: add `omz reload` command and deprecate `zsh_reload` plugin ( #9078 )
...
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
5 years ago
Marc Cornellà
3c209b00d6
feat(cli): show current theme in `omz theme list`
...
Fixes #9540
5 years ago
Marc Cornellà
5f99eb5afd
fix(cli): get branch and tags from OMZ folder in `omz changelog` completion
5 years ago
Marc Cornellà
cbb534267a
feat(cli): add `theme set` subcommand to change theme in .zshrc
...
Fixes #9087
5 years ago
Marc Cornellà
8dedf26294
style(cli): print usage messages to stderr
5 years ago
Marc Cornellà
bc7ce982dd
style(cli): fill rows in column output in theme and plugin `list` commands
5 years ago
Marc Cornellà
bf888680ea
refactor(cli): extract substitution awk script in `plugin disable`
5 years ago
Marc Cornellà
708bbe12c5
fix(cli): fix multiple errors in `plugin disable/enable`
5 years ago
pollyduan
4455c13e06
feat(cli): add subcommands for plugin `enable` and `disable` ( #9869 )
...
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
James Eapen
6e4c9df4a4
feat(cli): add `plugin load` subcommand ( #9872 )
...
Fixes #9672
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Cai Cooper
6fbad5bf72
fix(update): don't error on upgrade no-op ( #9685 )
...
* 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>
5 years ago
Marc Cornellà
6b57839292
fix(CLI): show symlinked themes in `omz theme list`
5 years ago
Fernando Crespo
9e5f280f87
feat(CLI): add `plugin info` subcommand ( #9452 )
...
Co-authored-by: Fernando Crespo <fxcrespo@iMac-44054.local>
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
5 years ago
Marc Cornellà
0f6836701d
fix(CLI): properly get zsh command in `omz update` ( #9558 )
...
Zsh versions older than 5.3 don't have ZSH_ARGZERO, so use an alternative
method to get the zsh command.
Fixes #9558
5 years ago
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
5 years ago
Marc Cornellà
1aa2b18e29
feat(CLI): add `--unattended` flag to `omz update` to not reload zsh ( #9187 )
5 years ago
Marc Cornellà
7712da89ee
feat(CLI): add `omz changelog` command
5 years ago
Marc Cornellà
e093a4cf62
fix(updater): correctly restart the zsh session when the update pulled changes
5 years ago
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
5 years ago
Marc Cornellà
f9f45ca222
lib: follow symlinked plugins in `plugin list` CLI command
...
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
5 years ago
Marc Cornellà
7525b1d533
lib: allow bare output in theme and plugins list command
5 years ago
Marc Cornellà
902954d1cc
lib: use `column` to format plugin and theme list CLI commands
5 years ago
Marc Cornellà
75ae0e905f
lib: fix `omz help` and reword
6 years ago
Marc Cornellà
982d010be5
lib: fix fmt removing ESC characters in theme and plugin list CLI commands
6 years ago
Marc Cornellà
fc6c9ca4b4
lib: fix formatting in `omz pr clean` CLI command
6 years ago
Marc Cornellà
1bb402190d
lib: add plugin and theme subcommands and fix `omz pr clean`
...
- 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>
6 years ago
Marc Cornellà
89400f156a
Remove zsh session restart on omz update and upgrade_oh_my_zsh
6 years ago
Marc Cornellà
7deda85f8c
Fix upgrade_oh_my_zsh function deprecation
6 years ago
Dario Vladović
3935ccce64
cli: add update command ( #9094 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
a15f0f0e9f
cli: beauty touches on 'omz pr test' command
6 years ago
Jacob Menke
582c8cb291
Prefix cd calls with `builtin` ( #8937 )
6 years ago
Marc Cornellà
173d4ca68f
core: move core folder to lib, for now
6 years ago
Marc Cornellà
07bcf041c0
core: add basic Oh My Zsh CLI ( #8876 )
6 years ago