mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +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
|
. ../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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user