diff options
author | Benjamin Stier <ben@unpatched.de> | 2014-11-07 10:47:27 +0100 |
---|---|---|
committer | Benjamin Stier <ben@unpatched.de> | 2014-11-07 10:47:27 +0100 |
commit | 11253336cfc771537f63268fd03d466cd27936a0 (patch) | |
tree | 4a91f42f2123b8a6be916f8790f51b9cd658236d /plugins/profiles | |
parent | 7f75bb90e326fdb39de37c14a0813e52801b1bba (diff) | |
download | zsh-11253336cfc771537f63268fd03d466cd27936a0.tar.gz zsh-11253336cfc771537f63268fd03d466cd27936a0.tar.bz2 zsh-11253336cfc771537f63268fd03d466cd27936a0.zip |
Fixes the profiles-plugin
An error was introduced with 7f75bb9, which uses special vars. This is the
fix.
Diffstat (limited to 'plugins/profiles')
-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 |