]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/profiles/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / profiles / README.md
1 # profiles plugin
2
3 This plugin allows you to create separate configuration files for zsh based
4 on your long hostname (including the domain).
5
6 To use it, add profiles to the plugins array of your zshrc file:
7
8 ```sh
9 plugins=(... profiles)
10 ```
11
12 It takes your `$HOST` variable and looks for files named according to the
13 domain parts in `$ZSH_CUSTOM/profiles/` directory.
14
15 For example, for `HOST=host.domain.com`, it will try to load the following files,
16 in 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
24 This means that if there are conflicting settings on those files, the one to take
25 precedence will be the last applied, i.e. the one in host.domain.com.