Skip to content
Patrick edited this page May 9, 2024 · 2 revisions

Examples

Here are a few examples of how this role can be used.

  1. Basic
    Install zsh and set it as default shell for the ansible user.
  2. Multiple users
    Install zsh and set it as default shell for a list of specified users.
  3. User defined config file
    Distribute a custom .zshrc file for a list of users.
  4. Custom dependencies
    Distribute a custom .zshrc file with a dependency.
  5. Extra functions
    Distribute a custom .zshrc file with autosuggestions and syntax-highlighting functions.
  6. Complete
    Full example of a zsh shell.

Preview

An preview of the configuration in last example: zsh console You can find the used ANSI console colors here.

Clone this wiki locally