Easily add more directories to PATH.

This commit is contained in:
David Tomaschik
2015-08-24 22:31:45 -07:00
parent 98d85b801d
commit ecdf364f65

12
profile
View File

@@ -1,6 +1,6 @@
# Sourced by zshrc as well as bash. # Sourced by zshrc as well as bash.
umask 022 umask 027
ulimit -c unlimited ulimit -c unlimited
# if running bash # if running bash
@@ -23,10 +23,14 @@ export DEBEMAIL="david@systemoverlord.com"
export DEBFULLNAME="David Tomaschik" export DEBFULLNAME="David Tomaschik"
export LESS="-MR" export LESS="-MR"
# GCE? EXTRA_PATHS=("$HOME/.gce/google-cloud-sdk/bin" "$HOME/bin/genymotion"
if [ -d $HOME/.gce/google-cloud-sdk/bin ] ; then "$HOME/bin/genymotion/tools" )
export PATH="$PATH:$HOME/.gce/google-cloud-sdk/bin" for p in "${EXTRA_PATHS[@]}" ; do
if [ -d "$p" ] ; then
export PATH="$PATH:$p"
fi fi
done
unset EXTRA_PATHS
# Disable stty ctrl-s/ctrl-q behavior # Disable stty ctrl-s/ctrl-q behavior
stty stop undef stty stop undef