fix: use bash comparison (#1442)
This commit is contained in:
parent
447ad1aaa2
commit
0b04956837
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue