Completion improvements + QuickSupport fix

This commit is contained in:
Gal Szkolnik 2022-08-11 09:18:21 -04:00
parent e6b701af99
commit f457cef8a1
5 changed files with 19 additions and 4 deletions

View file

@ -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

View file

@ -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 "

View file

@ -0,0 +1,4 @@
if [[ -n "$(which-command kubectl)" ]]; then
source <( kubectl completion bash )
fi

View file

@ -1,4 +1,5 @@
if [[ -r /usr/share/bash-completion/bash_completion ]]; then
BASH_COMPLETION_EXIST=1
shopt -s direxpand
fi