Skip to content

gadgieOps/zsh-kali

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible role: zsh-kali

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

Role Variables


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

Example Playbook

- 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

Support

Tested on:

  • Ubuntu 22.04
  • CentOS Linux 7

License

MIT

Author Information

Authored by gadgieOps.

About

Ansible role that installs zsh and configures based on Kali Linux

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages