Page MenuHomeDevCentral

D2145.diff
No OneTemporary

D2145.diff

diff --git a/roles/core/userland-software/init.sls b/roles/core/userland-software/init.sls
--- a/roles/core/userland-software/init.sls
+++ b/roles/core/userland-software/init.sls
@@ -45,12 +45,22 @@
- pkgs:
- bash
- zsh
+ {% if grains['kernel'] == 'Linux' %}
+ - tcsh
+ {% endif %}
+
+ # Shell utilities
{% if grains['os'] == 'FreeBSD' %}
- starship
- {% else %}
- - tcsh
{% endif %}
+{% if grains['kernel'] == 'Linux' and grains['osarch'] == 'x86_64' %}
+install_starship:
+ cmd.run:
+ - name: snap install starship
+ - creates: /var/lib/snapd/snap/bin/starship
+{% endif %}
+
/usr/local/share/zsh/site-functions/_pm:
file.managed:
# At commit 683d331 - 2017-11-05

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 07:41 (22 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252179
Default Alt Text
D2145.diff (755 B)

Event Timeline