facebook / sapling

A Scalable, User-Friendly Source Control System.
https://sapling-scm.com
GNU General Public License v2.0
6k stars 272 forks source link

Shell completions (bash,zsh,...) #623

Open cmtm opened 1 year ago

cmtm commented 1 year ago

Are there any shell completions available for sl? The only thing I could find in the repo was eden/scm/contrib/zsh_completion, but that seems to be for the hg command.

fanzeyi commented 1 year ago

You can still use that file. They are pretty much equivalent.

https://github.com/facebook/sapling/blob/5497b53d3fc6db39c1ca0ced24c494aa367461d8/eden/scm/contrib/zsh_completion#LL1C1-L1C1

lazywei commented 1 year ago

I think it needs to have the hg binary available on the system, so if there is no hg on your system you will need to install the mercurial first.