This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
2021-11-03 12:01:43 -05:00
|
|
|
# return if not running interactively
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
|
|
|
command -v fish >/dev/null 2>&1 && grep fish /etc/shells >/dev/null 2>&1 && {
|
|
|
|
echo "This user is configured to use 'fish' as its primary shell."
|
|
|
|
echo " You may want to run 'chsh' and set your shell to $(grep fish /etc/shells | head -n1)'."
|
2021-11-03 12:18:12 -05:00
|
|
|
echo " Once that's done, simply run 'fish'."
|
|
|
|
echo " You can also try fish temporarily by running 'fish'. No 'chsh' commitment required."
|
2021-11-29 08:25:13 -06:00
|
|
|
echo " If you're in bash intentionally for some reason, then ignore this message."
|
2021-11-03 12:01:43 -05:00
|
|
|
}
|
2022-10-17 10:08:38 -05:00
|
|
|
. "$HOME/.cargo/env"
|