mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
fixed a little bug, could be re-implemented and fixed, but for now; removed
This commit is contained in:
parent
1234fac27f
commit
1c950ceb91
1 changed files with 1 additions and 2 deletions
3
omz
3
omz
|
|
@ -38,8 +38,7 @@ omz() {
|
||||||
"theme")
|
"theme")
|
||||||
local theme
|
local theme
|
||||||
zstyle -a :omz:style theme theme
|
zstyle -a :omz:style theme theme
|
||||||
[[ -f {$OMZ,$ZSH}/themes/$2.zsh-theme(N) ]] && theme=$2 || omz_log_msg "Theme: $2 not found."
|
set_theme ${2:-$theme}
|
||||||
set_theme $theme
|
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "$0: invalid command $1" 2>&1
|
echo "$0: invalid command $1" 2>&1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue