From 76eefc3a4656804e02449e8841c667b835751e6c Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Fri, 8 May 2020 02:02:30 +0800 Subject: [PATCH] Updated Examples (markdown) --- Examples.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Examples.md b/Examples.md index ebfd8ef..84f3187 100644 --- a/Examples.md +++ b/Examples.md @@ -1271,6 +1271,15 @@ vs(){ ``` ### Wrapper +When you have defined an alias or wrapper for some command, you might want to inherit the completion from a parent function. Find out the completion used for your command and do: + +```sh +_fzf_complete_myssh() { + _fzf_complete_ssh "$@" +} +``` + +See also `_fzf_setup_completion` in the completion source code. ### LastPass CLI Search through your LastPass vault with [LastPass CLI](https://github.com/lastpass/lastpass-cli) and copy password to clipboard.