1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 03:01:42 +08:00
ohmyzsh/plugins/profiles
2019-10-24 17:42:33 +02:00
..
profiles.plugin.zsh Fixes the profiles-plugin 2014-11-07 10:47:27 +01:00
README.md Add profiles documentation 2019-10-24 17:42:33 +02:00

profiles plugin

This plugin allows you to create separate configuration files for zsh based
on a domain of your host.

It takes your HOST and looks for files named according to the domain parts
in $ZSH_CUSTOM/profiles/ directory.

For example, for HOST=my.domain.com, it will try to load the following files:

$ZSH_CUSTOM/profiles/my.domain.com
$ZSH_CUSTOM/profiles/domain.com
$ZSH_CUSTOM/profiles/com

To use it, add profiles to the plugins array of your zshrc file:

plugins=(... profiles)