replaced GBT with new PS1

This commit is contained in:
Jonas Forsberg
2021-11-11 16:27:24 +01:00
parent 7f8b5aa529
commit 3f2d0b1888
5 changed files with 40 additions and 58 deletions

View File

@@ -1,18 +0,0 @@
# Install GoBulleTrain,
# Highly configurable prompt builder for Bash, ZSH and PowerShell written in Go.
Make sure go directory exists:
file.directory:
- name: {{ salt['user.info']( pillar['username']).home }}/go
- user: {{ pillar['username'] }}
- group: users
- mode: "0755"
{% if not salt['file.directory_exists']('{}/go/src/github.com/jtyr/gbt'.format(salt['user.info']( pillar['username'] ).home )) %}
Go get GBT:
cmd.run:
- name: go get github.com/jtyr/gbt/cmd/gbt
- runas: {{ pillar['username'] }}
- env:
- GOPATH: {{ salt['user.info']( pillar['username']).home }}/go
{% endif %}

View File

@@ -2,7 +2,6 @@ base:
'*':
- repositories
- packages
- gbt
- vim
- firefox
- sudo