Difference between revisions of "Source (shell built-in)"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/kubectl/cheatsheet/
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
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> | ||
+ | |||
+ | source [[/etc/os-release]] | ||
+ | |||
== Related == | == Related == | ||
+ | * [[compdef]] | ||
* [[Include]] | * [[Include]] | ||
* [[source (Bash build-in)]] | * [[source (Bash build-in)]] |
Latest revision as of 14:35, 14 December 2023
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]
source /etc/os-release
Related[edit]
See also[edit]
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: