瀏覽代碼

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

pull/1/head
10sr 11 年之前
父節點
當前提交
cb96a1e5f2
共有 2 個文件被更改,包括 13 次插入6 次删除
  1. +1
    -1
      bashrc
  2. +12
    -5
      profile

+ 1
- 1
bashrc 查看文件

@@ -175,7 +175,7 @@ null type screen && alias screen="screen -e^z^z"
null type gtags && alias gtags="gtags --verbose"
null type htags && alias htags="htags --xhtml --symbol --line-number \
--frame --alphabet --verbose"
null type aunpack && alias aunp=aunpack
null type aunpack && alias aun=aunpack
null type lv && alias lv="lv|less"

isdarwin && alias updatedb="LC_ALL=C updatedb"


+ 12
- 5
profile 查看文件

@@ -21,21 +21,28 @@ test -f "${HOME}/.dotfiles/rc.py" && \
export PYTHONSTARTUP="${HOME}/.dotfiles/rc.py"
#export PYTHONPATH="~/.local/share/lib/python3.2/site-packages"

export GEM_HOME="$HOME/.local/lib/gems"
export PATH="$PATH:$HOME/.local/lib/gems/bin"
export RUBYLIB="$RUBYLIB:$HOME/.local/lib/gems/lib"

__add_to_path(){
for p in "$@"
do
echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || \
PATH="${PATH}:$p"
PATH="$p:${PATH}"
done
}
# export PATH="${PATH}:${HOME}/bin"
__add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin

# it is not so good
# http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
# # it is not so good
# # http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
# # http://superuser.com/questions/324613/installing-a-library-locally-in-home-directory-but-program-doesnt-recognize-it
# without this ENV i cannot run tmux. another way is to use --disable-shared
# when building tmux
export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
# or LDFLAGS
export CPPFLAGS="$CFLAGS -I$HOME/.local/include"
# this should be used when ./configure
#export CFLAGS="$CFLAGS -I$HOME/.local/include"

type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
# in my environment powerdown does not work


Loading…
取消
儲存