Skip to content

Commit

Permalink
Merge pull request ohmyzsh#3299 from apoxa/fix-profiles
Browse files Browse the repository at this point in the history
Fix for the profile plugin.
  • Loading branch information
robbyrussell committed Nov 7, 2014
2 parents 7f75bb9 + 1125333 commit df5b09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/profiles/profiles.plugin.zsh
Expand Up @@ -2,7 +2,7 @@

# This will look for a custom profile for the local machine and each domain or
# subdomain it belongs to. (e.g. com, example.com and foo.example.com)
parts=(${(s:.:)$HOST})
parts=(${(s:.:)HOST})
for i in {${#parts}..1}; do
profile=${(j:.:)${parts[$i,${#parts}]}}
file=$ZSH_CUSTOM/profiles/$profile
Expand Down

0 comments on commit df5b09e

Please sign in to comment.