mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
This plugin allows you to load settings based on the current hostname. The per-host config files are stored in `~/.zsh/perhost`. I was not sure whether to look in `~/.zsh` or rather in `~/.oh-my-zsh/etc/perhost`. Both seemed fine to me, although I slightly prefer the second. Any thoughts? |
||
|---|---|---|
| .. | ||
| perhost.plugin.zsh | ||
| README.rst | ||
Per host configuration
======================
The plugin ``perhost`` allows you to execute a ZSH script named after the
current hostname. The files live in the directory ``~/.zsh/perhost``.
To create a file with the correct name, type the following::
vim ~/.zsh/perhost/`hostname`.zsh