Skip to content

Commit

Permalink
Fix Chris fat finger
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Sep 18, 2024
1 parent 56e031e commit 0cd51ee
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions tabs/applications-setup/alacritty-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
. ../common-script.sh

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

Expand Down
3 changes: 1 addition & 2 deletions tabs/applications-setup/fastfetch-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
. ../common-script.sh

installFastfetch() {
printf "%b\n" "${YELLOW}Installing Fastfetch if not already installed...${RC}"

printf "%b\n" "${YELLOW}Installing Fastfetch...${RC}"
if ! command_exists fastfetch; then
case ${PACKAGER} in
pacman)
Expand Down
26 changes: 13 additions & 13 deletions tabs/applications-setup/zsh-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@

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

# Function to setup zsh configuration
Expand Down

0 comments on commit 0cd51ee

Please sign in to comment.