Skip to content

Commit

Permalink
fix: use bash comparison (#1442)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Jun 24, 2024
1 parent 447ad1a commit 0b04956
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions just/bluefin-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ bluefin-cli:
brew bundle --file /usr/share/ublue-os/homebrew/bluefin-cli.Brewfile --no-lock
echo 'Setting up your Shell 🐚🐚🐚'
shell=$(basename $SHELL)
if test $shell -eq "fish"; then
if [[ "${shell}" == "fish" ]]; then
echo 'Adding bling to your config.fish 🐟🐟🐟'
printf 'source /usr/share/ublue-os/bluefin-cli/bling.fish' >> ${XDG_CONFIG_HOME:-$HOME/.config}/fish/config.fish
elif test $shell -eq "zsh"; then
elif [[ "${shell}" == "zsh" ]]; then
echo 'Adding bling to your .zshrc 💤💤💤'
printf 'source /usr/share/ublue-os/bluefin-cli/bling.sh' >> ${ZDOTDIR:-$HOME}/.zshrc
elif test $shell -eq "bash"; then
elif [[ "${shell}" == "bash" ]]; then
echo 'Adding bling to your .bashrc 💥💥💥'
printf 'source /usr/share/ublue-os/bluefin-cli/bling.sh' >> ${HOME}/.bashrc
else
Expand Down

0 comments on commit 0b04956

Please sign in to comment.