Closed kodybrown closed 9 years ago
hash
is a shell builtin that shows you the cached hash table of available commands.
It looks like a change to &1
would be ok here since we're not using the output of hash
. Normally &-
is used to close a file descriptor, see http://www.tldp.org/LDP/abs/html/io-redirection.html
Does that change solve the issue for you, or is there still some issue with hash
?
If it solves it feel free to put together a pull request. Thanks!
This issue was moved to commander-rb/commander#4
The following statement fails; user_interaction.rb line #240:
I changed it to this, which now works:
But, now I don't know where to find
hash
.. Is this a bash util or built-in lib somewhere? I triedgem install hash
but it does not seem to be what it is looking for..I'm running bro (on Windows) which uses commander..