4 ms·
For tab completion the fish shell just parses the man pages, which are fairly standard, to figure out what tab completions are available.
by Symmetry 5y ago
For tab completion the fish shell just parses the man pages, which are fairly standard, to figure out what tab completions are available.
- RMPR 5y agoI also used to think that, but it seems like the advanced parsing is done manually[0] 0: https://news.ycombinator.com/item?id=29343053 https://news.ycombinator.com/item?id=29343053
- Symmetry 5y agoYes, there's stuff that you can't get just from parsing the man page too, but it's a huge help. I know it's not done every startup, I have running that as part of my "update everything" script. https://github.com/aclough/dotfiles/blob/master/mupdate.sh https://github.com/aclough/dotfiles/blob/master/mupdate.sh