mjanser.powerline

Ansible 角色: powerline

一个在 Linux 上安装 powerline 的 Ansible 角色。

要求

角色变量

可用的变量如下,带有默认值:

powerline_default_top_theme: powerline
powerline_shell_vcs_branch: yes
powerline_vim: no
powerline_tmux: no

顶部主题

通过变量 powerline_default_top_theme,你可以定义 powerline 的默认顶部主题。

VCS 分支

默认情况下,如果可用,VCS 分支会在 powerline 中显示。 可以通过将 powerline_shell_vcs_branch 设置为 no 来禁用此功能。

依赖关系

示例剧本

- hosts: all
  roles:
    - { role: mjanser.powerline }

许可证

MIT

关于项目

Installs powerline on Linux distributions

安装
ansible-galaxy install mjanser.powerline
许可证
mit
下载
492
拥有者