mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Merge 08beed0853 into 5667161d49
This commit is contained in:
commit
b3e452e1be
1 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,11 @@ parts=(${(s:.:)HOST})
|
|||
for i in {${#parts}..1}; do
|
||||
profile=${(j:.:)${parts[$i,${#parts}]}}
|
||||
file=$ZSH_CUSTOM/profiles/$profile
|
||||
if [ -f $file ]; then
|
||||
if [ -d $file ]; then
|
||||
for config_file ($file/*.zsh(N)); do
|
||||
source $config_file
|
||||
done
|
||||
elif [ -f $file ]; then
|
||||
source $file
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue