diff --git a/states/zsh/defaults.yaml b/states/zsh/defaults.yaml index 3f86edb..6577d0d 100644 --- a/states/zsh/defaults.yaml +++ b/states/zsh/defaults.yaml @@ -6,3 +6,4 @@ zsh: golang: true rust: true android: false + haproxy: true diff --git a/states/zsh/templates/zshenv.j2 b/states/zsh/templates/zshenv.j2 index 56fde5e..5e19732 100644 --- a/states/zsh/templates/zshenv.j2 +++ b/states/zsh/templates/zshenv.j2 @@ -29,6 +29,10 @@ then fi {%- endif %} +{% if zsh.config.haproxy -%} +alias hap="hatop -t 127.0.0.1:9990" +{%- endif %} + {% if zsh.config.android -%} # Android settings if [[ -d ~/Android ]]