1# profiles plugin
2
3This plugin allows you to create separate configuration files for zsh based
4on your long hostname (including the domain).
5
6To use it, add profiles to the plugins array of your zshrc file:
7
8```sh
9plugins=(... profiles)
10```
11
12It takes your `$HOST` variable and looks for files named according to the
13domain parts in `$ZSH_CUSTOM/profiles/` directory.
14
15For example, for `HOST=host.domain.com`, it will try to load the following files,
16in this order:
17
18```text
19$ZSH_CUSTOM/profiles/com
20$ZSH_CUSTOM/profiles/domain.com
21$ZSH_CUSTOM/profiles/host.domain.com
22```
23
24This means that if there are conflicting settings on those files, the one to take
25precedence will be the last applied, i.e. the one in host.domain.com.
26