From b8abb227efc01289b5ebdb02c447950086e306af Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Sat, 20 Apr 2024 10:37:59 -0700 Subject: [PATCH] Add .chezmoiscripts/change-shell-to-fish.sh --- .chezmoiscripts/run_once_after_change-shell-to-fish.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .chezmoiscripts/run_once_after_change-shell-to-fish.sh diff --git a/.chezmoiscripts/run_once_after_change-shell-to-fish.sh b/.chezmoiscripts/run_once_after_change-shell-to-fish.sh new file mode 100644 index 0000000..7d21392 --- /dev/null +++ b/.chezmoiscripts/run_once_after_change-shell-to-fish.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ "$SHELL" != "$(which fish)" ]; then + chsh -s "$(which fish)" +fi