Browse Source

use .my instead of .backup

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

+ 4
- 4
bashrc View File

@@ -190,8 +190,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
@@ -217,10 +217,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
}



+ 2
- 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 "$@"
@@ -31,6 +31,6 @@ __add_to_path ${HOME}/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