dotfiles/.chezmoiscripts/run_once_after_10-change-shell-to-fish.sh.tmpl
2024-04-22 20:20:03 -07:00

8 lines
130 B
Cheetah

{{- if lookPath "fish" -}}
#!/usr/bin/env bash
if [ "$SHELL" != "$(which fish)" ]; then
chsh -s "$(which fish)"
fi
{{- end -}}