diff --git a/.bashrc b/.bashrc index 179cbfb..0c685d9 100644 --- a/.bashrc +++ b/.bashrc @@ -168,6 +168,9 @@ fi which kubectl 1> /dev/null && source <(kubectl completion bash) which helm 1> /dev/null && source <(helm completion bash) +# Digital Ocean +which doctl 1> /dev/null && source <(doctl completion bash) + # Helpful Aliases if [ -n "${SUDO_USER}" ]; then alias nano="nano --rcfile \"/home/${SUDO_USER}/.config/nano/nanorc\"" diff --git a/.local/bin/doctl b/.local/bin/doctl new file mode 100755 index 0000000..ab1f8f9 Binary files /dev/null and b/.local/bin/doctl differ diff --git a/.zshrc b/.zshrc index 1d04ca5..31ae1b4 100644 --- a/.zshrc +++ b/.zshrc @@ -77,6 +77,9 @@ fi which kubectl 1> /dev/null && source <(kubectl completion zsh) which helm 1> /dev/null && source <(helm completion zsh) +# doctl completion +which doctl 1> /dev/null && source <(doctl completion zsh) + # Start in the home directory cd ~ @@ -100,7 +103,7 @@ zinit light zsh-users/zsh-syntax-highlighting # Key bindings config KEYTIMEOUT=5 # ^[ for esc; ^I for tab -bindkey '^[' autosuggest-accept +bindkey '^[[Z' autosuggest-accept ## Explicitly exit ok #echo "" > /dev/null