Compiles and installs powerline-go and optionally installs handlers for zsh
and fish
.
None
-
install_fish
- Type: Boolean
- Usage: if true, creates
powerline-go.fish
in~/.config/fish/fish.d
. This will also makepowerline-go
use the-duration-low-precision
flag to account for the lower resolution timer in fish. - Default: undefined (false)
-
install_zsh
- Type: Boolean
- Usage: if true, creates
powerline-go.zsh
in~/.zshrc
- Default: undefined (false)
-
install_pwsh
- Type: Boolean
- Usage: if true, creates
powerline-go.psm1
in~/.config/powershell
and sets prompt inprofile.ps1
.
-
modules
- Type: string
- Usage: an optional string of modules to use to override the default configuration of modules
- Default: undefined (use defaults from powerline-go)
None
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts:
- local
roles:
- powerline-go
vars:
powerline_go:
install_zsh: true
install_fish: true
install_pwsh: true
modules: venv,user,host,ssh,cwd,perms,git,hg,duration,exit,root
MIT
Patrick Wagstrom <patrick@wagstrom.net>