Skip to content

Commit 19fc91a

Browse files
committed
Document zqs-compdef-as
Document the new `zqs-compdef-as` command Signed-off-by: Joe Block <[email protected]>
1 parent bb39b5f commit 19fc91a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,14 @@ As of 2021-11-13, I've added a `zqs` command to start exposing some of the confi
251251

252252
Updates the quickstart kit if it has been longer than seven days since the last update.
253253

254+
##### zqs-compdef-as
255+
256+
Makes it simpler to use one command's completions for another command too.
257+
258+
Usage: `zqs-compdef-as original_command target_command`
259+
260+
Example: To make `z.lua` use the same completions as `cd`, run `zqs-compdef-as cd _zlua`
261+
254262
##### zqs disable-bindkey-handling
255263

256264
Disable `bindkey` setup and alias expansion in the quickstart `.zshrc` so people can use plugins like [globalias](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/globalias) to handle it instead.

0 commit comments

Comments
 (0)