dotfiles/.chezmoiscripts/run_once_after_change-shell-to-fish.sh

5 lines
82 B
Bash

#!/bin/bash
if [ "$SHELL" != "$(which fish)" ]; then
chsh -s "$(which fish)"
fi