Difference between revisions of "Source (shell built-in)"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/kubectl/cheatsheet/
(7 intermediate revisions by 3 users not shown) | |||
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 | ||
+ | <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
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: