From 3459467c9d1a39767951e02e98f055fa354cbad7 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 7 Aug 2019 11:19:42 +0100 Subject: [PATCH] Symlink git prompt on ubuntu --- states/zsh/ubuntu.sls | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/states/zsh/ubuntu.sls b/states/zsh/ubuntu.sls index a016719..37ac5fc 100644 --- a/states/zsh/ubuntu.sls +++ b/states/zsh/ubuntu.sls @@ -2,3 +2,11 @@ install zsh: pkg.installed: - pkgs: - zsh + +ensure git-prompt exists: + file.symlink: + - name: {{ grains['homedir'] }}/.git-prompt.sh + - target: /usr/lib/git-core/git-sh-prompt + - user: {{ grains['user'] }} + - group: {{ grains['user'] }} + - mode: 444 -- 2.46.2