Skip to content

Instantly share code, notes, and snippets.

@dungdm93
Last active May 14, 2019 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dungdm93/08438e99ed4004c8770c5181c1ca2c55 to your computer and use it in GitHub Desktop.
Save dungdm93/08438e99ed4004c8770c5181c1ca2c55 to your computer and use it in GitHub Desktop.
alias ..='cd ..'
if [[ ! "$PATH" =~ (^|:)"$HOME/.local/bin"(:|$) ]]; then
export PATH="$HOME/.local/bin:$PATH"
fi
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && source "$NVM_DIR/bash_completion"
export CONDA_DIR="$HOME/.conda"
export PATH="$CONDA_DIR/bin:$PATH"
if command -v kubectl &>/dev/null; then
source <(kubectl completion bash)
fi
if command -v minikube &>/dev/null; then
source <(minikube completion bash)
fi
if command -v helm &>/dev/null; then
source <(helm completion bash)
fi
if command -v crictl &>/dev/null; then
source <(crictl completion)
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment