Add nice arrow (link() function)
This commit is contained in:
parent
3d304d345d
commit
61c3e1c903
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function link() {
|
||||||
if [ -a "${HOME}/${2}" ]; then
|
if [ -a "${HOME}/${2}" ]; then
|
||||||
[[ -n "$VERBOSE_WARNING" ]] && echo ":: Warning: ${2} already exists."
|
[[ -n "$VERBOSE_WARNING" ]] && echo ":: Warning: ${2} already exists."
|
||||||
else
|
else
|
||||||
echo ":: Linking ${2}"
|
echo ":: Linking ${1} -> ${2}"
|
||||||
ln -s "$(pwd)/${1}" "${HOME}/${2}"
|
ln -s "$(pwd)/${1}" "${HOME}/${2}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue