Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
eaa682c0
Commit
eaa682c0
authored
Oct 24, 2019
by
Lukasz Chrzaszcz
Browse files
Add profiles documentation
parent
40df67bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/profiles/README.md
0 → 100644
View file @
eaa682c0
# 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:
```
text
$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:
```
sh
plugins
=(
... profiles
)
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment