changeset 1047:e2542163359a

feat: enable fish on ubuntu
author Zeger Van de Vannet <zeger@vandevan.net>
date Sun, 09 Jun 2024 17:57:44 +0200
parents 6e298b8639eb
children c27e3816ab86
files .chezmoiscripts/run_onchange_after_43-setup-fish.sh.tmpl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.chezmoiscripts/run_onchange_after_43-setup-fish.sh.tmpl	Sun Jun 09 23:05:04 2024 +0200
+++ b/.chezmoiscripts/run_onchange_after_43-setup-fish.sh.tmpl	Sun Jun 09 17:57:44 2024 +0200
@@ -18,4 +18,8 @@
 # Fish_plugin hash: {{ include "dot_config/private_fish/fish_plugins" | sha256sum -}}
 fisher update
 
+{{ if eq .chezmoi.osRelease.name "Ubuntu" -}}
+sudo chsh -s $(which fish) $USER
 {{ end }}
+
+{{ end }}