Include doctl
binary and shell completions
This commit is contained in:
parent
e73b5d14a8
commit
843cd752db
3 changed files with 7 additions and 1 deletions
3
.bashrc
3
.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\""
|
||||
|
|
BIN
.local/bin/doctl
Executable file
BIN
.local/bin/doctl
Executable file
Binary file not shown.
5
.zshrc
5
.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
|
||||
|
|
Loading…
Reference in a new issue