Parcourir la source

use .my instead of .backup

pull/1/head
10sr il y a 12 ans
Parent
révision
43411d5eed
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. +4
    -4
      bashrc
  2. +2
    -2
      profile

+ 4
- 4
bashrc Voir le fichier

@@ -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 Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer