Skip to content

Commit

Permalink
add cap support
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Perkowski <[email protected]>
  • Loading branch information
nnyyxxxx and adamperkowski committed Sep 19, 2024
1 parent 418abf7 commit 8551326
Showing 1 changed file with 2 additions and 2 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 @@ -5,7 +5,7 @@
installAlacritty() {
printf "%b" "${YELLOW}Do you want to install Alacritty? (Y/n): ${RC}"
read -r install_choice
if [ "$install_choice" != "n" ]; then
if [ "$install_choice" != "n" ] && [ "$install_choice" != "N" ]; then
printf "%b\n" "${YELLOW}Installing Alacritty...${RC}"
if ! command_exists alacritty; then
case "$PACKAGER" in
Expand All @@ -27,7 +27,7 @@ installAlacritty() {
setupAlacrittyConfig() {
printf "%b" "${YELLOW}Do you want to backup existing configuration files? (Y/n): ${RC}"
read -r backup_choice
if [ "$backup_choice" != "n" ]; then
if [ "$backup_choice" != "n" ] && [ "$backup_choice" != "N" ]; then
printf "%b\n" "${YELLOW}Backing up existing Alacritty config files...${RC}"
if [ -d "${HOME}/.config/alacritty" ] && [ ! -d "${HOME}/.config/alacritty-bak" ]; then
cp -r "${HOME}/.config/alacritty" "${HOME}/.config/alacritty-bak"
Expand Down

0 comments on commit 8551326

Please sign in to comment.