'which' aborts or kills terminal
|Reported by:||engima||Owned by:||bonefish|
Description (last modified by )
When running the shell command 'which' it will always result in either:
If the command we're trying to find doesn't exit, an error message that some gibberish has been terminated, and also kills the terminal (Attaching screenshot) If the command exists, we just get the terminal closed immediately.
The command 'which' uses, causing the fault is 'echo $(builtin type $cmd | sed lq)'. Typing this out on the command line results in the same problem.