Completion improvements + QuickSupport fix
This commit is contained in:
parent
e6b701af99
commit
f457cef8a1
5 changed files with 19 additions and 4 deletions
|
@ -13,4 +13,6 @@ if [[ -n "$(which-command direnv)" ]]; then
|
|||
eval "$_DIRENV_ShowEnvLogic | LC_ALL=C sort -h $FILTER"
|
||||
fi
|
||||
}
|
||||
|
||||
alias direnv-allow="direnv allow "
|
||||
fi
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
if [[ -n "$(which-command chezmoi)" ]]; then
|
||||
alias cdcz="cd $(chezmoi source-path)"
|
||||
export CZ="$(chezmoi source-path)"
|
||||
export CHEZMOIROOT="$CZ"
|
||||
|
||||
alias cdcz="cd $CZ"
|
||||
alias czcd="cdcz "
|
||||
|
||||
alias cz="chezmoi "
|
||||
|
|
4
_home/dot_sz.shrc.d/bash.post/99_kubectl.complete
Normal file
4
_home/dot_sz.shrc.d/bash.post/99_kubectl.complete
Normal file
|
@ -0,0 +1,4 @@
|
|||
if [[ -n "$(which-command kubectl)" ]]; then
|
||||
source <( kubectl completion bash )
|
||||
fi
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
if [[ -r /usr/share/bash-completion/bash_completion ]]; then
|
||||
BASH_COMPLETION_EXIST=1
|
||||
shopt -s direxpand
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue