This repository has been archived on 2021-04-14. You can view files and clone it, but cannot push or open issues/pull-requests.
bare-dotfiles/.bashrc

38 lines
1.3 KiB
Bash
Raw Normal View History

2018-07-17 09:48:02 -04:00
test -f /etc/bashrc && . /etc/bashrc || true
test -f /etc/bash_completion && . /etc/bash_completion || true
2018-07-17 17:36:50 -04:00
test -f $HOME/.bash_aliases && . $HOME/.bash_aliases || true
2018-07-17 09:48:02 -04:00
#export AWS_ACCESS_KEY_ID=
#export AWS_SECRET_ACCESS_KEY=
export KOPS_STATE_STORE=s3://consolo-kops-state-store
export MINIKUBE_WANTUPDATENOTIFICATION=true
export MINIKUBE_WANTREPORTERRORPROMPT=false
export MINIKUBE_WANTKUBECTLDOWNLOADMSG=false
export MINIKUBE_HOME=$HOME
export MINIKUBE_DRIVER=kvm2
export CHANGE_MINIKUBE_NONE_USER=true
test -d $HOME/.kube || mkdir $HOME/.kube
test -f $HOME/.kube/config || touch $HOME/.kube/config
export KUBECONFIG=$HOME/.kube/config
export GIT_MERGE_AUTOEDIT=no
export EDITOR=vim
export PATH=$PATH:$HOME/.local/bin:$HOME/bin
test -s $HOME/code/consolo-enterprise-config/src/dev-env/dev-aliases && . $HOME/code/consolo-enterprise-config/src/dev-env/dev-aliases || true
HISTSIZE=5000
HISTFILESIZE=10000
HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S "
for k in $HOME/bin/*.bash ; do . $k ; done
function _update_ps1() {
PS1="$(powerline-go -error $?)"
2018-07-17 09:48:02 -04:00
}
2019-01-16 20:52:59 -05:00
if [[ $(which powerline-go 2>/dev/null) && "$TERM" != "linux" && "$TERM_PROGRAM" != "vscode" && "$TERM" != "screen" ]]; then
2018-07-17 09:48:02 -04:00
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
else
PS1='[\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w$(__git_ps1 " (%s)")\[\033[00m\]]\$ '
fi