diff options
author | Robby Russell <robby@planetargon.com> | 2014-11-07 07:47:33 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-11-07 07:47:33 -0800 |
commit | df5b09e20b05a5ba4234599602f7a74934c916db (patch) | |
tree | 4a91f42f2123b8a6be916f8790f51b9cd658236d | |
parent | 7f75bb90e326fdb39de37c14a0813e52801b1bba (diff) | |
parent | 11253336cfc771537f63268fd03d466cd27936a0 (diff) | |
download | zsh-df5b09e20b05a5ba4234599602f7a74934c916db.tar.gz zsh-df5b09e20b05a5ba4234599602f7a74934c916db.tar.bz2 zsh-df5b09e20b05a5ba4234599602f7a74934c916db.zip |
Merge pull request #3299 from apoxa/fix-profiles
Fix for the profile plugin.
-rw-r--r-- | plugins/profiles/profiles.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profiles/profiles.plugin.zsh b/plugins/profiles/profiles.plugin.zsh index 4b3d6a852..5bc56cea0 100644 --- a/plugins/profiles/profiles.plugin.zsh +++ b/plugins/profiles/profiles.plugin.zsh @@ -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 |