Add an installation script

This commit is contained in:
2021-08-13 14:24:07 +02:00
parent b2e999e2e0
commit a3dd2545e0

18
install.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
if [[ $UID == "0" ]]; then
echo "ERROR: You must run this script as user!"
exit 1
fi
# Make the directory if needed
if [[ ! -d "~/.config/alacritty" ]]; then
mkdir ~/.config/alacritty
fi
# Copy configuration file
cp alacritty.yml ~/.config/alacritty/alacritty.yml
echo "Done."