From 0c8be96ad21cc576b1c3d9729cb9646f8da1ebaf Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Thu, 13 Apr 2023 23:13:50 +0200 Subject: [PATCH] updated zsh state --- states/zsh/defaults.yaml | 1 + states/zsh/templates/zshenv.j2 | 4 ++++ 2 files changed, 5 insertions(+) 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 ]]