Initial commit
commit
894996ac73
|
@ -0,0 +1 @@
|
||||||
|
*~
|
|
@ -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}"
|
Loading…
Reference in New Issue