Adds linkdotfiles function.