diff --git a/Readme.md b/Readme.md index b1f7829..5bb6db4 100644 --- a/Readme.md +++ b/Readme.md @@ -25,6 +25,7 @@ - [Behavior toggles](#behavior-toggles) - [zqs](#zqs) - [zqs check-for-updates](#zqs-check-for-updates) + - [zqs-compdef-as](#zqs-compdef-as) - [zqs disable-bindkey-handling](#zqs-disable-bindkey-handling) - [zqs disable-1password-agent](#zqs-disable-1password-agent) - [zqs enable-1password-agent](#zqs-enable-1password-agent) @@ -251,6 +252,14 @@ As of 2021-11-13, I've added a `zqs` command to start exposing some of the confi Updates the quickstart kit if it has been longer than seven days since the last update. +##### zqs-compdef-as + +Makes it simpler to use one command's completions for another command too. + +Usage: `zqs-compdef-as original_command target_command` + +Example: To make `z.lua` use the same completions as `cd`, run `zqs-compdef-as cd _zlua` + ##### zqs disable-bindkey-handling 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.