Ansible role that installs zsh and sets as users default shell. The .zshrc from kali linux is used with auto completion and suggestions enabled by default too.
Example:
┌──(gadgieOps@xps)-[~/Projects/gadgieOps.zsh-kali]
└─$
For a richer and more customizable zsh experience: oh my zsh
aliases:
- alias: "string"
command: "string"
aliases is a list of dictionaries containing two keys: "alias" and "command". Allows of setting persistant aliases in .zshrc.
prompt_symbol: "string"
prompt_symbol allows to change the default kali prompt symbol (㉿).
install_auto_completion: bool
install_auto_completion toggles whether or not to install zsh autocompletion. Default: true
install_auto_suggestion: bool
install_auto_suggestion toggles whether or not to install zsh autosuggestion. Default: true
- hosts: localhost
roles:
- role: gadgieOps.zsh-kali
vars:
prompt_symbol: "@"
aliases:
- alias: k
command: kubectl
- alias: vi
command: vim
result:
┌──(gadgieOps@xps)-[~/Projects/gadgieOps/ha-kubernetes]
└─$ k get nodes
NAME STATUS ROLES AGE VERSION
barry Ready control-plane 10m v1.25.4
maurice Ready control-plane 10m v1.25.4
robin Ready control-plane 10m v1.25.4
Tested on:
- Ubuntu 22.04
- CentOS Linux 7
MIT
Authored by gadgieOps.