Skip to content

Commit 2c447f7

Browse files
author
nnyyxxxx
committed
Fix grammatical errors
1 parent d81e3af commit 2c447f7

File tree

9 files changed

+31
-28
lines changed

9 files changed

+31
-28
lines changed

tabs/applications-setup/alacritty-setup.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
. ../common-script.sh
44

5-
setupAlacritty() {
6-
echo "Install Alacritty if not already installed..."
5+
installAlacritty() {
6+
echo "Installing Alacritty..."
77
if ! command_exists alacritty; then
88
case ${PACKAGER} in
99
pacman)
@@ -14,12 +14,12 @@ setupAlacritty() {
1414
;;
1515
esac
1616
else
17-
echo "alacritty is already installed."
17+
echo "Alacritty is already installed."
1818
fi
1919
}
2020

2121
setupAlacrittyConfig() {
22-
echo "Copy alacritty config files"
22+
echo "Copying Alacritty configuration files..."
2323
if [ -d "${HOME}/.config/alacritty" ] && [ ! -d "${HOME}/.config/alacritty-bak" ]; then
2424
cp -r "${HOME}/.config/alacritty" "${HOME}/.config/alacritty-bak"
2525
fi
@@ -30,5 +30,5 @@ setupAlacrittyConfig() {
3030

3131
checkEnv
3232
checkEscalationTool
33-
setupAlacritty
33+
installAlacritty
3434
setupAlacrittyConfig

tabs/applications-setup/fastfetch-setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
. ../common-script.sh
44

5-
setupFastfetch() {
6-
echo "Installing Fastfetch if not already installed..."
5+
installFastfetch() {
6+
echo "Installing Fastfetch..."
77
if ! command_exists fastfetch; then
88
case ${PACKAGER} in
99
pacman)
@@ -29,5 +29,5 @@ setupFastfetchConfig() {
2929

3030
checkEnv
3131
checkEscalationTool
32-
setupFastfetch
32+
installFastfetch
3333
setupFastfetchConfig

tabs/applications-setup/kitty-setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
. ../common-script.sh
44

5-
setupKitty() {
6-
echo "Install Kitty if not already installed..."
5+
installKitty() {
6+
echo "Installing Kitty..."
77
if ! command_exists kitty; then
88
case ${PACKAGER} in
99
pacman)
@@ -19,7 +19,7 @@ setupKitty() {
1919
}
2020

2121
setupKittyConfig() {
22-
echo "Copy Kitty config files"
22+
echo "Copying Kitty configuration files..."
2323
if [ -d "${HOME}/.config/kitty" ] && [ ! -d "${HOME}/.config/kitty-bak" ]; then
2424
cp -r "${HOME}/.config/kitty" "${HOME}/.config/kitty-bak"
2525
fi
@@ -30,5 +30,5 @@ setupKittyConfig() {
3030

3131
checkEnv
3232
checkEscalationTool
33-
setupKitty
33+
installKitty
3434
setupKittyConfig

tabs/applications-setup/mybash-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cloneMyBash() {
1414
}
1515

1616
installDepend() {
17-
echo "Install mybash if not already installed"
17+
echo "Installing Bash..."
1818
case "$PACKAGER" in
1919
pacman)
2020
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm bash bash-completion tar bat tree unzip fontconfig

tabs/applications-setup/neovim-setup.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ cloneNeovim() {
1313
cd "$HOME" && git clone https://github.com/ChrisTitusTech/neovim.git "$HOME/.local/share/neovim"
1414
}
1515

16-
setupNeovim() {
17-
echo "Install Neovim if not already installed"
16+
installNeovim() {
17+
echo "Installing Neovim..."
1818
case "$PACKAGER" in
1919
pacman)
2020
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm neovim ripgrep fzf python-virtualenv luarocks go shellcheck
@@ -36,20 +36,22 @@ setupNeovim() {
3636
}
3737

3838
backupNeovimConfig() {
39+
echo "Backing up existing configuration files..."
3940
if [ -d "$HOME/.config/nvim" ] && [ ! -d "$HOME/.config/nvim-backup" ]; then
4041
cp -r "$HOME/.config/nvim" "$HOME/.config/nvim-backup"
4142
fi
4243
rm -rf "$HOME/.config/nvim"
4344
}
4445

4546
linkNeovimConfig() {
47+
echo "Linking Neovim configuration files..."
4648
mkdir -p "$HOME/.config/nvim"
4749
ln -s "$gitpath/titus-kickstart/"* "$HOME/.config/nvim/" # Wild card is used here to link all contents of titus-kickstart.
4850
}
4951

5052
checkEnv
5153
checkEscalationTool
5254
cloneNeovim
53-
setupNeovim
55+
installNeovim
5456
backupNeovimConfig
5557
linkNeovimConfig

tabs/applications-setup/rofi-setup.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
. ../common-script.sh
44

5-
setupRofi() {
6-
echo "Install Rofi if not already installed..."
5+
installRofi() {
6+
echo "Installing Rofi..."
77
if ! command_exists rofi; then
88
case "$PACKAGER" in
99
pacman)
@@ -19,7 +19,7 @@ setupRofi() {
1919
}
2020

2121
setupRofiConfig() {
22-
echo "Copy Rofi config files"
22+
echo "Copying Rofi configuration files..."
2323
if [ -d "$HOME/.config/rofi" ] && [ ! -d "$HOME/.config/rofi-bak" ]; then
2424
cp -r "$HOME/.config/rofi" "$HOME/.config/rofi-bak"
2525
fi
@@ -35,5 +35,5 @@ setupRofiConfig() {
3535

3636
checkEnv
3737
checkEscalationTool
38-
setupRofi
38+
installRofi
3939
setupRofiConfig

tabs/applications-setup/zsh-setup.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
. ../common-script.sh
44

55
# Function to install zsh
6-
install_zsh() {
7-
echo "Install ZSH if not already installed..."
6+
installZsh() {
7+
echo "Installing Zsh..."
88
if ! command_exists zsh; then
99
case "$PACKAGER" in
1010
pacman)
@@ -20,7 +20,8 @@ install_zsh() {
2020
}
2121

2222
# Function to setup zsh configuration
23-
setup_zsh_config() {
23+
setupZshConfig() {
24+
echo "Setting up Zsh configuration..."
2425
CONFIG_DIR="$HOME/.config/zsh"
2526
ZSHRC_FILE="$CONFIG_DIR/.zshrc"
2627

@@ -48,5 +49,5 @@ EOL
4849

4950
checkEnv
5051
checkEscalationTool
51-
install_zsh
52-
setup_zsh_config
52+
installZsh
53+
setupZshConfig

tabs/security/firewall-baselines.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
. ../common-script.sh
44

55
installPkg() {
6-
echo "Install UFW if not already installed..."
6+
echo "Installing UFW..."
77
if ! command_exists ufw; then
88
case ${PACKAGER} in
99
pacman)
@@ -19,7 +19,7 @@ installPkg() {
1919
}
2020

2121
configureUFW() {
22-
printf "%b\n" "${GREEN}Using Chris Titus Recommended Firewall Rules${RC}"
22+
printf "%b\n" "${YELLOW}Using Chris Titus Recommended Firewall Rules${RC}"
2323

2424
echo "Disabling UFW"
2525
$ESCALATION_TOOL ufw disable

tabs/system-setup/system-update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ fastUpdate() {
6161
}
6262

6363
updateSystem() {
64-
printf "%b\n" "${GREEN}Updating system${RC}"
64+
printf "%b\n" "${YELLOW}Updating system${RC}"
6565
case ${PACKAGER} in
6666
nala|apt-get)
6767
$ESCALATION_TOOL "${PACKAGER}" update -y

0 commit comments

Comments
 (0)