Difference between revisions of "Source (shell built-in)"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/kubectl/cheatsheet/
Line 4: | Line 4: | ||
[[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 | echo '[[ $commands[kubectl] ]] && source <(kubectl completion zsh)' >> ~/.zshrc # add autocomplete permanently to your zsh shell | ||
+ | <ref>https://kubernetes.io/docs/reference/kubectl/cheatsheet/</ref> | ||
== 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 [1]
Related
Advertising: