浏览代码

fix envval TMP

pull/1/head
10sr 12 年前
父节点
当前提交
cc7f3a7abc
共有 2 个文件被更改,包括 8 次插入6 次删除
  1. +8
    -2
      profile
  2. +0
    -4
      tmux.conf

+ 8
- 2
profile 查看文件

@@ -17,7 +17,8 @@ test -f "${HOME}/.dotfiles/rc.py" && \
__add_to_path(){
for p in "$@"
do
echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || PATH="${PATH}:$p"
echo $PATH | grep -E "^$p:|:$p:|:$p$" >/dev/null 2>&1 || \
PATH="${PATH}:$p"
done
}
# export PATH="${PATH}:${HOME}/bin"
@@ -30,6 +31,11 @@ export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
# in my environment powerdown does not work

export TMP="/tmp/${USER}-tmp"
if test -n $TMPDIR
then
export TMP=$TMPDIR
else
export TMP=/tmp/
export TMP="${TMP}${USER}-tmp"
export TEMP="$TMP"
mkdir -p "$TMP"

+ 0
- 4
tmux.conf 查看文件

@@ -45,7 +45,3 @@ if "test `hostname` = newkiwi" \
setw -g window-status-current-fg black
setw -g window-status-current-bg white
setw -g window-status-current-attr bold

# this does not work because it runs asyncly
# if "test -n \"tmux display -p '#{client_termname}' | grep -o 256color\"" \
# "set -g default-terminal screen-256color" "set -g default-terminal screen"

正在加载...
取消
保存