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>
2021-03-01 08:17:54 +01:00
Marc Cornellà
6b57839292
fix(CLI): show symlinked themes in `omz theme list`
2021-01-05 19:09:57 +01:00
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>
2021-01-03 13:55:57 +01:00
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
2020-12-31 23:20:24 +01:00
Marc Cornellà
5a888ff4ac
fix(updater): don't show changelog when running unattended update ( #9495 )
...
Fixes #9495
2020-12-07 20:58:12 +01:00
Marc Cornellà
1aa2b18e29
feat(CLI): add `--unattended` flag to `omz update` to not reload zsh ( #9187 )
2020-12-04 12:34:01 +01:00
Marc Cornellà
7712da89ee
feat(CLI): add `omz changelog` command
2020-11-30 15:48:46 +01:00
Marc Cornellà
e093a4cf62
fix(updater): correctly restart the zsh session when the update pulled changes
2020-11-30 15:48:46 +01:00
Marc Cornellà
889cd7acf3
refactor(updater): switch to Zsh execution and fix git remote detection logic
2020-11-30 15:48:46 +01:00
Marc Cornellà
f9f45ca222
lib: follow symlinked plugins in `plugin list` CLI command
...
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
2020-10-20 15:57:11 +02:00
Marc Cornellà
7525b1d533
lib: allow bare output in theme and plugins list command
2020-10-18 21:25:03 +02:00
Marc Cornellà
902954d1cc
lib: use `column` to format plugin and theme list CLI commands
2020-10-18 21:24:48 +02:00
Marc Cornellà
75ae0e905f
lib: fix `omz help` and reword
2020-10-10 12:12:22 +02:00
Marc Cornellà
982d010be5
lib: fix fmt removing ESC characters in theme and plugin list CLI commands
2020-10-10 11:47:09 +02:00
Marc Cornellà
fc6c9ca4b4
lib: fix formatting in `omz pr clean` CLI command
2020-10-09 15:03:03 +02:00
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>
2020-10-09 13:55:56 +02:00
Marc Cornellà
89400f156a
Remove zsh session restart on omz update and upgrade_oh_my_zsh
2020-08-18 19:51:19 +02:00
Marc Cornellà
7deda85f8c
Fix upgrade_oh_my_zsh function deprecation
2020-08-17 22:11:02 +02:00
Dario Vladović
3935ccce64
cli: add update command ( #9094 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-08-04 17:48:29 +02:00
Marc Cornellà
a15f0f0e9f
cli: beauty touches on 'omz pr test' command
2020-07-03 19:05:40 +02:00
Jacob Menke
582c8cb291
Prefix cd calls with `builtin` ( #8937 )
2020-05-20 11:30:11 +02:00
Marc Cornellà
173d4ca68f
core: move core folder to lib, for now
2020-05-01 19:15:14 +02:00