|
@@ -22,12 +22,11 @@ test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc" |
|
|
__add_to_path(){ |
|
|
__add_to_path(){ |
|
|
for p in "$@" |
|
|
for p in "$@" |
|
|
do |
|
|
do |
|
|
echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="$p:${PATH}" |
|
|
|
|
|
|
|
|
echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="${PATH}:$p" |
|
|
done |
|
|
done |
|
|
} |
|
|
} |
|
|
# export PATH="${PATH}:${HOME}/bin" |
|
|
# export PATH="${PATH}:${HOME}/bin" |
|
|
__add_to_path ${HOME}/bin |
|
|
|
|
|
#PATH="/c/mingw/bin/:$PATH:/c/mingw/msys/1.0/bin/" |
|
|
|
|
|
|
|
|
__add_to_path ${HOME}/bin /c/mingw/bin /c/mingw/msys/1.0/bin |
|
|
|
|
|
|
|
|
type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 |
|
|
type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 |
|
|
# in my environment powerdown does not work |
|
|
# in my environment powerdown does not work |
|
|