Difference between revisions of "Source (shell built-in)"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | |||
[[source]] <([[kubectl completion zsh]]) # setup autocomplete in zsh into the current shell | [[source]] <([[kubectl completion zsh]]) # setup autocomplete in zsh into the current shell | ||
+ | echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell | ||
+ | |||
== Related == | == Related == | ||
* [[source (Bash build-in)]] | * [[source (Bash build-in)]] |
Revision as of 05:47, 26 September 2022
source <(kubectl completion zsh) # setup autocomplete in zsh into the current shell echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell
Related
Advertising: