2020-03-30 06:45:14 +00:00
|
|
|
export LIBVIRT_DEFAULT_URI="qemu:///system"
|
|
|
|
export HISTSIZE=-1
|
|
|
|
export HISTFILESIZE=-1
|
2020-05-25 15:54:31 +00:00
|
|
|
export EDITOR="vim"
|
2020-03-30 06:45:14 +00:00
|
|
|
|
|
|
|
test -s ~/.alias && . ~/.alias || true
|
|
|
|
export PATH=~/.local/bin:"$PATH"
|
2020-05-11 06:43:03 +00:00
|
|
|
type go >/dev/null 2>&1 && export GOPATH=$(go env GOPATH) && export PATH="$PATH":$GOPATH/bin
|
2020-03-30 06:45:14 +00:00
|
|
|
|
|
|
|
# needed for pw function and gnupg.vim
|
|
|
|
GPG_TTY=$(tty)
|
|
|
|
export GPG_TTY
|
|
|
|
export PWHOME="$HOME/Nextcloud/passwords"
|
|
|
|
|
|
|
|
#make sure we only run one ssh-agent
|
|
|
|
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
|
|
|
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
|
|
|
fi
|
|
|
|
if [[ ! "$SSH_AUTH_SOCK" ]]; then
|
|
|
|
eval "$(<"$XDG_RUNTIME_DIR/ssh-agent.env")"
|
|
|
|
fi
|
|
|
|
|
|
|
|
[[ -x "$(command -v kubectl)" ]] && source <(kubectl completion bash)
|
|
|
|
[[ -x "$(command -v helm)" ]] && source <(helm completion bash)
|
|
|
|
|
|
|
|
# Go Bullet Train settings
|
2020-05-04 09:25:10 +00:00
|
|
|
[[ -f "$HOME/go/bin/gbt" ]] && [[ -f "$HOME/.gbt.sh" ]] && source "$HOME/.gbt.sh"
|
2020-03-30 06:45:14 +00:00
|
|
|
|
|
|
|
|
2020-05-04 09:26:45 +00:00
|
|
|
[[ -f "$HOME/.functions.sh" ]] && source ~/.functions.sh
|
|
|
|
[[ -f "$HOME/Develop/MyDot/completion.sh" ]] && source ~/Develop/MyDot/completion.sh
|
2020-04-30 06:11:18 +00:00
|
|
|
|
|
|
|
[[ "$(type -t dotf)" == "alias" ]] && [[ "$(type -t __git_complete)" == "function" ]] && __git_complete dotf _git
|
2020-05-20 09:28:48 +00:00
|
|
|
[[ "$(type -t _todo)" == "function" ]] && complete -F _todo t
|
2020-06-04 10:47:57 +00:00
|
|
|
|
|
|
|
if [[ "$(type -t sps)" == "file" ]];then
|
|
|
|
if [[ -f "$HOME/.sps.completion" ]];then
|
|
|
|
source "$HOME/.sps.completion"
|
|
|
|
else
|
|
|
|
sps completion bash > "$HOME/.sps.completion"
|
|
|
|
source "$HOME/.sps.completion"
|
|
|
|
fi
|
|
|
|
fi
|