mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
This works, although one-liner in the making.
This commit is contained in:
parent
198d57d788
commit
c214d08b1b
1 changed files with 9 additions and 9 deletions
18
omz
18
omz
|
|
@ -44,15 +44,15 @@ omz() {
|
||||||
compinit -i
|
compinit -i
|
||||||
|
|
||||||
# load plugins (TODO: Make this slimmer and better)
|
# load plugins (TODO: Make this slimmer and better)
|
||||||
for plugin ($fpath/*.plugin.zsh(N)) source $plugin
|
# for plugin ($fpath/*.plugin.zsh(N)) source $plugin
|
||||||
# for plugin ($plugins); do
|
for plugin ($plugins); do
|
||||||
# plugin_sub=$(echo $plugin|cut -d'/' -f2)
|
plugin_sub=$(echo $plugin|cut -d'/' -f2)
|
||||||
# if [[ -f $OMZ/plugins/$plugin/$plugin_sub.plugin.zsh ]]; then
|
if [[ -f $OMZ/plugins/$plugin/$plugin_sub.plugin.zsh ]]; then
|
||||||
# source $OMZ/plugins/$plugin/$plugin_sub.plugin.zsh
|
source $OMZ/plugins/$plugin/$plugin_sub.plugin.zsh
|
||||||
# elif [[ -f $ZSH/plugins/$plugin/$plugin_sub.plugin.zsh ]]; then
|
elif [[ -f $ZSH/plugins/$plugin/$plugin_sub.plugin.zsh ]]; then
|
||||||
# source $ZSH/plugins/$plugin/$plugin_sub.plugin.zsh
|
source $ZSH/plugins/$plugin/$plugin_sub.plugin.zsh
|
||||||
# fi
|
fi
|
||||||
# done
|
done
|
||||||
|
|
||||||
local theme
|
local theme
|
||||||
zstyle -a :omz:style theme theme
|
zstyle -a :omz:style theme theme
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue