3 ms·
"8. Command Auto-complete" This would be awesome.
by oliver_FF 13y ago
"8. Command Auto-complete" This would be awesome.
- tsahyt 13y agoDoesn't bash already do something vaguely similar though? I noticed it can complete flags and options now. zsh has been capable of this for a long time too. It doesn't convert between long and short options or sort arguments but it does help you by offering the completion which means less typing and slightly less memorization.
- oliver_FF 13y agoSure, but it would be great if it went a little further: "... and/or provides a documentation panel for that argument". Having a one-liner to explain what ls's `--dired` does without having to drop down to a new line and look it up would be great, displaying the first sentence of the relevant section of the man page could be enough?
- rjwebb 13y agoDoesn't zsh do something like this? At the very least, it seems to be extensible enough that you could provide completion+manpage documentation if you wanted to.
- Wilya 13y agoZsh certainly does something like this. Here's what my autocompletion looks like: http://leukensis.org/files/zsh-autocomplete.png http://leukensis.org/files/zsh-autocomplete.png The program has to provide its autocomplete files, but it's very powerful. My 'kill' autocompletes with a ps-like output, for example.
- samsquire 13y agoDoes zsh support matching long and arguments? That's what I want. A bit like fish (http://fishshell.com/assets/img/screenshots/man_completions.png http://fishshell.com/assets/img/screenshots/man_completions....) and finalterm which others have mentioned.
- dsego 13y agosomething like http://finalterm.org http://finalterm.org ?
- samsquire 13y agoThat's very cool. There's a bit of 'see it use it' (21) too where you can click the filename. Thanks!
- jodrellblank 13y agoI'm still wondering about another window, which displays the man page of the command you are typing, as you type it. And, say, a live browsing view of folders as you autocomplete a path.