diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 27b2a738e..42a1ef6a4 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -1,3 +1,5 @@ +export GOPATH=$HOME/go +export GOBIN=$GOPATH/bin export DOTFILES=$HOME/.dotfiles #:/usr/local/src:/go # echo WELCOME! @@ -76,8 +78,8 @@ DISABLE_UNTRACKED_FILES_DIRTY="false" # Custom plugins may be added to $ZSH/custom/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -#plugins=(git zsh-git-prompt zsh-completions fasd systemd zsh-syntax-highlighting) -plugins=(git git-extras docker docker-compose docker-machine helm fast-syntax-highlighting zsh-git-prompt zsh-kubectl-prompt) +#plugins=(git zsh-git-prompt zsh-completions fasd systemd zsh-syntax-highlighting zsh-git-prompt) +plugins=(git git-extras git-prompt docker docker-compose docker-machine helm fast-syntax-highlighting zsh-kubectl-prompt) # The following lines were added by compinstall zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate @@ -136,11 +138,22 @@ export SSH_KEY_PATH="~/.ssh/id_rsa" # github pat export GITHUB_PAT=$(cat $HOME/.git/.pat) +# Perforce +export P4CLIENT=$(hostname) +export P4USER=$USER +export P4PORT=$(cat ~/.p4/.port) +export PATH=/sbin:/bin:${PATH}:${HOME}/bin/p4v-2021.1.2085655/bin:/import/tools/qa/bin:/import/tools/lab/bin:/import/lab/bin +# export EDITOR=vim +export ASLAN_INSTALL_ROOT=${HOME}/work/builds/nios/nios-8.6 +export PRODUCT_TARBALL_DIR=${HOME}/work/builds/nios +export LIBVIRT_DEFAULT_URI=qemu:///system +export PERL5LIB=/import/tools/qa/tools/bin + # Set personal aliases, overriding those provided by oh-my-zsh libs, # plugins, and themes. Aliases can be placed here, though oh-my-zsh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. -alias f='find / 2>/dev/null' +alias fn='find / 2>/dev/null -name ' alias t='top' alias vb='virtualbox' alias vm='VBoxManage' @@ -160,3 +173,4 @@ alias ez="edit ~/.zshrc" alias ezo="edit ~/.oh-my-zsh" # alias ifconfig='/sbin/ifconfig' source $DOTFILES/k8s/kubectl_helpers.sh + diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 13606e74e..1ca7e5a0a 100755 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -274,7 +274,7 @@ build_prompt() { prompt_aws # prompt_context prompt_dir - prompt_git +# prompt_git prompt_kubectl prompt_bzr prompt_hg