diff --git a/Examples-(completion).md b/Examples-(completion).md index 6ff249e..a748935 100644 --- a/Examples-(completion).md +++ b/Examples-(completion).md @@ -67,7 +67,7 @@ _fzf_complete_pass() { [ -n "$BASH" ] && complete -F _fzf_complete_pass -o default -o bashdefault pass ``` -### Complete hg update/hg merge +### [ZSH] Complete hg update/hg merge If you need to add branch name completion for a subset of hg commands, e.g. hg up, hg merge, you can use technique as follows (zsh completion): @@ -88,7 +88,7 @@ _fzf_complete_hg_post() { } ``` -### Complete `git co` (for example) +### [ZSH] Complete `git co` (for example) You can use the same approach as above to complete any git command. In the example below, completion is triggered on `git co` (usual alias for `git checkout`):