updates
parent
e006ccc830
commit
462b343032
6
.bashrc
6
.bashrc
|
|
@ -16,6 +16,7 @@ fi
|
|||
|
||||
# if there is a C:/Projects folder on this box then I'm obviously using my work computer
|
||||
if [ -d "C:/Projects" ]; then
|
||||
export WORK="TRUE"
|
||||
. ~/.work_profile
|
||||
fi
|
||||
|
||||
|
|
@ -34,11 +35,6 @@ if [ -f /etc/git_completion ]; then
|
|||
. /etc/git_completion
|
||||
fi
|
||||
|
||||
# enable programmable completion features
|
||||
if [ -f /etc/git_completion ]; then
|
||||
. /etc/git_completion
|
||||
fi
|
||||
|
||||
# enable programmable completion features
|
||||
if [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
|
|
|
|||
|
|
@ -5,17 +5,18 @@ if [ -d "/c/Windows" ]; then
|
|||
export WINDOWS="TRUE"
|
||||
export GOPATH="/d/Projects/Programming/Go"
|
||||
export GOROOT="/d/Programs/Go"
|
||||
|
||||
export GIT_EDITOR=~/Tools/vim/gvim.exe
|
||||
PATH=${PATH}:/c/tools/ruby193/bin
|
||||
else
|
||||
export GOPATH="$HOME/../Projects/go"
|
||||
export GOROOT="/usr/local/go"
|
||||
export GIT_EDITOR=vim
|
||||
export WINDOWS="FALSE"
|
||||
fi
|
||||
|
||||
export GOBIN=${GOPATH}/bin
|
||||
PATH=${PATH}:${GOBIN}
|
||||
|
||||
export GOBIN=${GOPATH}/bin
|
||||
PATH=${PATH}:${GOBIN}:${GOROOT}/bin
|
||||
|
||||
# see environ manfile
|
||||
export EDITOR=$GIT_EDITOR # Default Editor
|
||||
|
|
|
|||
|
|
@ -10,5 +10,3 @@ if [ -d "/c/Windows" ]; then
|
|||
export GOPATH="/c/Projects/Go"
|
||||
fi
|
||||
|
||||
export GOBIN=${GOPATH}/bin
|
||||
PATH=${PATH}:${GOBIN}:${GOROOT}/bin
|
||||
|
|
|
|||
Loading…
Reference in New Issue