From: Maximilian Friedersdorff Date: Wed, 7 Aug 2019 10:19:42 +0000 (+0100) Subject: Symlink git prompt on ubuntu X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=3459467c9d1a39767951e02e98f055fa354cbad7;p=max%2Fsaltfiles.git Symlink git prompt on ubuntu --- 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