Update install.sh
This commit is contained in:
10
install.sh
10
install.sh
@@ -1,9 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
steps="10"
|
steps="10"
|
||||||
echo "[1/${steps}] Creating .bashrc backup"
|
if [ -e ~/.config/kitty/kitty.conf ]
|
||||||
cp ~/.bashrc ~/.bashrc_backup
|
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 "[2/${steps}] Adding aliases and zoxide to bashrc"
|
||||||
echo "alias ls='lsd -a --tree --depth 1'" >> ~./bashrc
|
echo "alias ls='lsd -a --tree --depth 1'" >> ~./bashrc
|
||||||
|
|||||||
Reference in New Issue
Block a user