Use [[ -e $(command -v cmd) ]] to find executables
Use proper quoting around vars.
Fix path to dotfiles dir