Re:Show HN: Inshellisense – IDE style shell autocomplete
by biellls on Monday November 06, 2023 @02:50PM
(#38167912)
A simple approach might be that if the resulting exit code is not 0 it won't be used to complete in the future.
[ Parent
| on HN ]
Re:Show HN: Inshellisense – IDE style shell autocomplete
by Eavolution on Monday November 06, 2023 @05:40PM
(#38170150)
That'd have the problem of tools like grep returning nothing, having an exit code of 1, but being a perfectly valid thing to suggest in the future.
Re:Show HN: Inshellisense – IDE style shell autocomplete
by starttoaster on Monday November 06, 2023 @06:54PM
(#38171071)
When you're writing, building, and executing code, I would not expect a 0 exit code every time.
Re:Show HN: Inshellisense – IDE style shell autocomplete
by KRAKRISMOTT on Monday November 06, 2023 @09:44PM
(#38172547)
The fish approach