mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Easily add more directories to PATH.
This commit is contained in:
14
profile
14
profile
@@ -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
|
||||||
fi
|
if [ -d "$p" ] ; then
|
||||||
|
export PATH="$PATH:$p"
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user