1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 16:02:19 +00:00

Different prompt color per hostname

This commit is contained in:
J. Fernando Sánchez
2016-10-08 00:56:35 +02:00
parent 32509d6482
commit 1e449408bb
2 changed files with 18 additions and 5 deletions

View File

@@ -102,9 +102,20 @@ function newdev () {
alias gsicluster='ssh balkian@shannon.gsi.dit.upm.es -p 1337'
function gsiclustercopy(){
scp -P 1337 $1 balkian@shannon.gsi.dit.upm.es:/shared/balkian/$2
}
TMPPREFIX="${TMPDIR%/}/zsh"
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv virtualenvwrapper
if command -v foo >/dev/null 2>&1 ; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv virtualenvwrapper
fi
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin/
setopt interactivecomments