Difference between revisions of "Source (shell built-in)"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/kubectl/cheatsheet/
Line 3: | Line 3: | ||
[[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> | <ref>https://kubernetes.io/docs/reference/kubectl/cheatsheet/</ref> | ||
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: