Skip to content
/ omz Public

Ansible role to install zsh and setup oh-my-zsh

Notifications You must be signed in to change notification settings

gsvitins/omz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

omz

Build Status Ansible Galaxy

Ansible role to install zsh and setup oh-my-zsh freamework. It can be used to setup zsh shell for multiple users at once, including root. It uses oh-my-zsh framework as base for zsh configs/themes/plugins/etc. Also you can install McFly optionally if you set omz_mcfly_enable: true

Role variables

    omz_enable: false
    omz_users: []
    omz_root: true
    omz_chsh: true
    zsh_path: "/bin/zsh"
    omz_theme: "candy"
    omz_case_sensitive_completion: false
    omz_hyphen_insensitive_completion: false
    omz_disable_auto_update: false
    omz_auto_update_interval: 30
    omz_disable_ls_colors: false
    omz_disable_auto_title: false
    omz_enable_auto_correction: true
    omz_completion_waiting_dots: true
    omz_history_stamps: "yyyy-mm-dd"
    omz_plugins: "docker git vagrant vi-mode nmap rsync"
    omz_language: "en_US.UTF-8"
    omz_mcfly_enable: false
    omz_mcfly_vim: true
    omz_mcfly_results: 50
    omz_mcfly_history: 10000

Examples

- hosts: all
  roles:
      - { role: omz,
          omz_enable: true,
          omz_mcfly_enable: true,
          omz_users: [user1, user2],
          omz_theme: "cloud",
          omz_completion_waiting_dots: false
        }

License

MIT License

Dependencies

None