mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-17 04:29:14 +02:00
really enable (hardly possible to really disable)
This commit is contained in:
parent
3ba05d9c35
commit
509e42b422
2 changed files with 14 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ omz () {
|
|||
_list_plugins|less
|
||||
;;
|
||||
(on)
|
||||
_enable_plugin "$3"
|
||||
_enable_plugin "$3"&&_populate_enabled_plugins "$3"
|
||||
;;
|
||||
(off)
|
||||
_disable_plugin "$3"
|
||||
|
|
@ -40,7 +40,7 @@ omz () {
|
|||
_update_plugin "$3"
|
||||
;;
|
||||
(get)
|
||||
_download_plugin "$3" "$4"
|
||||
_download_plugin "$3" "$4"&&_populate_enabled_plugins "$4"
|
||||
;;
|
||||
(-h|--help|help)
|
||||
echo $usage_p
|
||||
|
|
@ -57,13 +57,13 @@ omz () {
|
|||
_list_themes|less
|
||||
;;
|
||||
(set)
|
||||
_enable_theme "$3"
|
||||
_enable_theme "$3"&&_populate_enabled_theme
|
||||
;;
|
||||
(up)
|
||||
_update_theme "$3"
|
||||
;;
|
||||
(get)
|
||||
_download_theme "$3" "$4"
|
||||
_download_theme "$3" "$4"&&_populate_enabled_theme
|
||||
;;
|
||||
(-h|--help|help)
|
||||
echo $usage_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue