I'm a bit confused on how to modify the function arguements:
I want:
bower ln
bower ln thing
to execute:
bower link
bower link thing
This is as close as I have gotten:
# ~/.bashrc
bower () {
if [[ $1 == "ln" ]]; then
${@[1]}="link"
echo "replacing" "$FUNCNAME" "$@"
fi
command "$FUNCNAME" "$@"
}