my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
725 B

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