Add nice arrow (link() function)

This commit is contained in:
JeremyStar™ 2024-06-03 18:24:50 +02:00
parent 3d304d345d
commit 61c3e1c903
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -11,7 +11,7 @@ function link() {
if [ -a "${HOME}/${2}" ]; then
[[ -n "$VERBOSE_WARNING" ]] && echo ":: Warning: ${2} already exists."
else
echo ":: Linking ${2}"
echo ":: Linking ${1} -> ${2}"
ln -s "$(pwd)/${1}" "${HOME}/${2}"
fi
}