mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Fix Chris fat finger (#468)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
parent
a516c9e5fe
commit
e049d3c6aa
|
@ -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)
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user