zsh: add sapling completion
This commit is contained in:
parent
ba47d8e17d
commit
86e4fd9198
1 changed files with 6 additions and 0 deletions
6
.zshrc
6
.zshrc
|
@ -188,6 +188,12 @@ if [ ! -f "${fpath[1]}/_bazel" ]; then
|
|||
curl -sLo "${fpath[1]}/_bazel" https://raw.githubusercontent.com/bazelbuild/bazel/master/scripts/zsh_completion/_bazel
|
||||
fi
|
||||
|
||||
## sapling
|
||||
if [ ! -f "${fpath[1]}/_sl" ]; then
|
||||
# See: https://github.com/facebook/sapling/pull/369
|
||||
curl -sLo "${fpath[1]}/_sl" https://github.com/facebook/sapling/raw/d6157db1ebc0868cf70805756e32541bd681bac2/eden/scm/contrib/zsh_completion_sl
|
||||
fi
|
||||
|
||||
## Tekton cli
|
||||
if [ ! -f "${fpath[1]}/_tkn" ]; then
|
||||
command -v tkn >/dev/null 2>&1 && tkn completion zsh > "${fpath[1]}/_tkn"
|
||||
|
|
Loading…
Reference in a new issue