From c2b8bd76492b093b0ca1b3b8410d5cf234d59bdf Mon Sep 17 00:00:00 2001 From: zoli Date: Mon, 22 Dec 2025 20:14:31 +0100 Subject: [PATCH] Update install.sh --- install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index ce0ad5e..0b8210c 100644 --- a/install.sh +++ b/install.sh @@ -1,9 +1,13 @@ #!/bin/bash steps="10" -echo "[1/${steps}] Creating .bashrc backup" -cp ~/.bashrc ~/.bashrc_backup - +if [ -e ~/.config/kitty/kitty.conf ] +then + echo "[1/${steps}] Creating .bashrc backup" + cp ~/.bashrc ~/.bashrc_backup +else + touch ~/.bashrc +fi echo "[2/${steps}] Adding aliases and zoxide to bashrc" echo "alias ls='lsd -a --tree --depth 1'" >> ~./bashrc