Initial commit

main
Sean Hickey 2021-07-16 21:50:50 -07:00
commit 894996ac73
2 changed files with 18 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

17
localinstall.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env sh
# Symlink binaries into my ~/.local/bin directory.
set -o errexit
set -o nounset
file=$1
install_dir="${HOME}/.local/bin"
filepath=$(readlink -f "$file")
filename=$(basename "$file")
mkdir -p $install_dir
ln -sf "$filepath" "${install_dir}/${filename}"