Skip to content

Commit

Permalink
fix(just): remove configure-shell (#1671)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo committed Sep 14, 2024
1 parent c7f436c commit 3d773c5
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions just/bluefin-system.just
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,6 @@ devmode:
fi
fi
alias shell := configure-shell

# Switch to a different shell
configure-shell ACTION="":
#!/bin/bash
source /usr/lib/ujust/ujust.sh
CURRENT_SHELL="$(cat /etc/passwd | grep ":$UID:" | cut '-d:' '-f7')"
OPTION={{ ACTION }}
if [ "$OPTION" == "help" ]; then
echo "Usage: ujust shell <option>"
echo " <option>: Specify the quick option to skip the prompt"
echo " Use 'fish' to select fish"
echo " Use 'zsh' to select zsh"
echo " Use 'bash' to select bash"
exit 0
elif [ "$OPTION" == "" ]; then
echo "${bold}Shell configuration${normal}"
echo "${USER}'s shell is currently ${CURRENT_SHELL}"
OPTION=$(Choose "fish" "zsh" "bash")
fi
if [ -z "$OPTION" ]; then
exit 0
else
sudo usermod $USER --shell /usr/bin/$OPTION
printf "${USER}'s shell is now %s.\n" "$(cat /etc/passwd | grep ":$UID:" | cut '-d:' '-f7')"
fi

alias gnome-vrr := toggle-gnome-vrr

# Enable or Disable Gnome-VRR
Expand Down

0 comments on commit 3d773c5

Please sign in to comment.