Skip to content

Commit

Permalink
beter diagnostic message
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebman committed Sep 17, 2024
1 parent 01481dc commit dd65468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/available/jake-typos.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function command_not_found_handle {
_typos-load

# TODO: can I get a printed bash stack trace?
_log_debug "generated alias $(type "$name")"
_log_debug "generated alias '$(type "$name")' for '$name'"
if type -af "${_BASH_IT_TYPOS["$name"]}" |& grep -s -q 'is a shell builtin$' &> /dev/null; then
_log_warn "$name is aliased to a builtin, ${_BASH_IT_TYPOS["$name"]}. It might be worth using the typo_builtin function instead"
fi
Expand Down

0 comments on commit dd65468

Please sign in to comment.