瀏覽代碼

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

pull/1/head
10sr 12 年之前
父節點
當前提交
3c02ad24f6
共有 2 個檔案被更改,包括 7 行新增6 行删除
  1. +4
    -4
      bashrc
  2. +3
    -2
      profile

+ 4
- 4
bashrc 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存