Fix Chris fat finger (#468)

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
Nyx 2024-09-18 14:32:12 -04:00 committed by GitHub
parent a516c9e5fe
commit e049d3c6aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 17 deletions

View File

@ -3,7 +3,7 @@
. ../common-script.sh . ../common-script.sh
installAlacritty() { installAlacritty() {
echo "Installing Alacritty..." printf "%b\n" "${YELLOW}Installing Alacritty...${RC}"
if ! command_exists alacritty; then if ! command_exists alacritty; then
case "$PACKAGER" in case "$PACKAGER" in
pacman) pacman)
@ -14,7 +14,7 @@ installAlacritty() {
;; ;;
esac esac
else else
printf "%b\n" "${GREEN}alacritty is already installed.${RC}" printf "%b\n" "${GREEN}Alacritty is already installed.${RC}"
fi fi
} }

View File

@ -3,8 +3,7 @@
. ../common-script.sh . ../common-script.sh
installFastfetch() { installFastfetch() {
printf "%b\n" "${YELLOW}Installing Fastfetch if not already installed...${RC}" printf "%b\n" "${YELLOW}Installing Fastfetch...${RC}"
if ! command_exists fastfetch; then if ! command_exists fastfetch; then
case "$PACKAGER" in case "$PACKAGER" in
pacman) pacman)

View File

@ -4,19 +4,19 @@
# Function to install zsh # Function to install zsh
installZsh() { installZsh() {
printf "%b\n" "${YELLOWInstalling Zsh...${RC}" printf "%b\n" "${YELLOW}Installing Zsh...${RC}"
if ! command_exists zsh; then if ! command_exists zsh; then
case "$PACKAGER" in case "$PACKAGER" in
pacman) pacman)
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm zsh $ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm zsh
;; ;;
*) *)
$ESCALATION_TOOL "$PACKAGER" install -y zsh $ESCALATION_TOOL "$PACKAGER" install -y zsh
;; ;;
esac esac
else else
printf "%b\n" "${GREEN}ZSH is already installed.${RC}" printf "%b\n" "${GREEN}ZSH is already installed.${RC}"
fi fi
} }
# Function to setup zsh configuration # Function to setup zsh configuration