Browse Source

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

pull/1/head
10sr 12 years ago
parent
commit
3c02ad24f6
2 changed files with 7 additions and 6 deletions
  1. +4
    -4
      bashrc
  2. +3
    -2
      profile

+ 4
- 4
bashrc View File

@@ -195,8 +195,8 @@ showinfo(){

x(){
if [[ -z $DISPLAY ]] && ! [[ -e /tmp/.X11-unix/X0 ]] && (( EUID )); then
#mkdir -p ~/.backup/log
# nohup startx >~/.backup/log/xorg.log 2>&1 &
#mkdir -p ~/.my/log
# nohup startx >~/.my/log/xorg.log 2>&1 &
# exit
exec startx
else
@@ -222,10 +222,10 @@ di(){
}

throw-away(){
mkdir -p ~/.backup/tb
mkdir -p ~/.my/tb
for file in "$@"
do
mv $file ~/.backup/tb
mv $file ~/.my/tb
done
}



+ 3
- 2
profile View File

@@ -17,7 +17,7 @@ export ENV=~/.shrc
# export TMP=/tmp
# export TEMP=/tmp
test -f "${HOME}/.pythonrc" && export PYTHONSTARTUP="${HOME}/.pythonrc"
export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"
#export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"

__add_to_path(){
for p in "$@"
@@ -27,10 +27,11 @@ __add_to_path(){
}
# export PATH="${PATH}:${HOME}/bin"
__add_to_path ${HOME}/bin
#PATH="/c/mingw/bin/:$PATH:/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

mkdir -p ~/.backup/log
mkdir -p ~/.my/log
mkdir -p /tmp/$USER-tmp


Loading…
Cancel
Save