DEV Community

Discussion on: A toy shell to play with go

Collapse
mirkoperillo profile image
mirko Author

Thank you, I will try to explain command suggestions in a better way.
The shell tries to provide you the possible options of a command. The experience is something similar, but more simple, of the suggestions provided by zsh
When you type a command and a partial options you can click TAB and shell will provide all matching options for that command.
Technically speaking I've used termbox-go to implement the interaction and trie data structure to calculate the matching options.
gosh is extensible setting the options of you favorite commands.
Maybe in the next days I will produce some animated GIF to explain the usage in more easy way.
I hope is more clear now.