- Jul
- 532
- 10
Finding out about unknown_cmd was a game changer for me, because pausing in response to an unknown_command helps stop runaway errant situation.
But because I used ANSI color in my response, it was a bit long for an alias, so I simply made the alias call a bat file:
(I attached my unknown_cmd.bat to this post, or view it with a single click at https://raw.githubusercontent.com/C...ads/main/BAT-and-UTIL-files-1/unknown_cmd.bat )
My question is... Why does the ansi work for non-piped commands, but doesn’t for piped commands?
This makes me sad
But because I used ANSI color in my response, it was a bit long for an alias, so I simply made the alias call a bat file:
(I attached my unknown_cmd.bat to this post, or view it with a single click at https://raw.githubusercontent.com/C...ads/main/BAT-and-UTIL-files-1/unknown_cmd.bat )
My question is... Why does the ansi work for non-piped commands, but doesn’t for piped commands?
This makes me sad