mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
657 B
657 B
adduser
This plugin adds support for installing "Oh My ZSH" when adding new users.
To use it, add adduser to the plugins array of your ~/.zshrc file:
plugins=(... adduser)
Usage
Just run adduser as you normally would do and now:
- The regular
addusercommand will run. - The shell of the new user will switch to zsh
- "Oh My zsh will be installed (as if he would have ran
install.shhimself).
NOTES
- It is assumed that the last argument will be the username.
(In rare cases people provide the group as last argument) useraddbehaviour is not changed.