add an installer script

This commit is contained in:
Greg Gauthier 2024-02-29 22:12:15 +00:00
parent 3e44f0378e
commit 9cad43ae99
2 changed files with 11 additions and 0 deletions

10
install.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env sh
if [ ! -d "${HOME}/.local/bin" ]; then
mkdir -p "${HOME}/.local/bin"
fi
# -u is 'update only' flag
cp -u -v ./scripts/* "${HOME}"/.local/bin

View File

@ -6,3 +6,4 @@ else
fi fi
ansiweather -l $loc -u imperial -s true -i false ansiweather -l $loc -u imperial -s true -i false