Matthieu Moy [off-list ref] writes:
Alex Riesen [off-list ref] writes:
quoted
It is off(0) by default, to avoid scaring people unless they asked to.
If set to a non-0 value, wait for that amount of deciseconds before
running the corrected command.
Perhaps off should be -1 (or, say, anything negative), so that the
value 0 can be used to mean "execute the corrected command without
waiting".
(not that I really care personnally, I'd probably keep it off anyway).
I do not want to suggest this because I do not think of a good way to
implement it myself, but it would be very nice if this feature can be
enabled by default for interactive session and disabled for scripts.
Well, actually I think I do ;-)
Perhaps have a bash alias that does:
alias git="git --dwim"
only in interactive session (ensuring "only in interactive" is the
responsibility of the end user), with the global option similar to
the "--paginate" that "git" wrapper itself takes?