fish shell的补全是最简单明了的,一个complete命令就能编写补全。 官方文档参考:

第1个文档说明怎么写补全,第二个文档说明complete命令的用法。

……

Continue reading