chore: move asdf to ./local, update configs

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-02-17 12:17:45 +02:00
parent 8cf3602de1
commit 894ec12fd8
5 changed files with 25 additions and 10 deletions

View File

@@ -22,11 +22,14 @@ while true; do
kill -0 "$$" || exit
done 2> /dev/null &
msgr nested "Change user shell to zsh if it is available and not the current"
# Skip when shell is fish
if [[ $SHELL != $(which fish) ]]; then
msgr nested "Change user shell to zsh if it is available and not the current"
# Change user shell to zsh if not that already.
if hash zsh 2> /dev/null; then
[[ $SHELL != $(which zsh) ]] && chsh -s "$(which zsh)"
# Change user shell to zsh if not that already.
if hash zsh 2> /dev/null; then
[[ $SHELL != $(which zsh) ]] && chsh -s "$(which zsh)"
fi
fi
###############################################################################