diff --git a/bin/dotfiles-doctor.sh b/bin/dotfiles-doctor.sh index d8e7ea5..7cf29aa 100755 --- a/bin/dotfiles-doctor.sh +++ b/bin/dotfiles-doctor.sh @@ -208,6 +208,10 @@ check_bin_scripts() { fi else check_fail "$script not linked" + if [[ "$DO_FIX" == true ]]; then + ln -s $DOTFILES_HOME/bin/$script "$HOME/.local/bin/$script" + chmod +x "$HOME/.local/bin/$script" + check_fixed "Created symlink & made executable: $script" fi done }