Difference between revisions of "Source (shell built-in)"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by 3 users not shown)
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>
 +
 
 +
source [[/etc/os-release]]
  
  
 
== Related ==
 
== Related ==
 +
* [[compdef]]
 +
* [[Include]]
 
* [[source (Bash build-in)]]
 
* [[source (Bash build-in)]]
 +
 +
== See also ==
 +
* {{bash}}
 +
 +
[[Category:Shell]]

Latest revision as of 14:35, 14 December 2023

Advertising: