dotfiles/.chezmoiscripts/run_once_after_10-change-shell-to-fish.sh

9 lines
130 B
Bash
Raw Normal View History

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