Bläddra i källkod

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr 12 år sedan
förälder
incheckning
a0a835adbc
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. +2
    -1
      bashrc
  2. +2
    -3
      profile

+ 2
- 1
bashrc Visa fil

@@ -48,7 +48,7 @@ export VISUAL="$EDITOR"
export GIT_PAGER="$PAGER"
export GIT_EDITOR="$EDITOR"

null type stty && {
! iswindows && null type stty && {
stty stop undef # unbind C-s to stop displaying output
# stty erase '^h'
}
@@ -63,6 +63,7 @@ fi

#######################

iswindows && alias tty="echo cmd.exe"
uname -a
echo TERM $TERM connected to $(tty), running $BASH $BASH_VERSION
echo


+ 2
- 3
profile Visa fil

@@ -22,12 +22,11 @@ test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
__add_to_path(){
for p in "$@"
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
}
# 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
# in my environment powerdown does not work


Laddar…
Avbryt
Spara