瀏覽代碼

setup.sh: prepare tmux.conf automatically

pull/1/head
10sr 10 年之前
父節點
當前提交
8092a8a30e
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. +8
    -0
      setup.sh

+ 8
- 0
setup.sh 查看文件

@@ -290,6 +290,14 @@ set -g mode-bg $tmux_bg_color
set -g mode-fg $tmux_fg_color
set -g pane-active-border-fg $tmux_bg_color
__EOC__

_tmux_conf="$HOME"/.tmux.conf
if test -f "$_tmux_conf"
then
_warn "Tmux config file found. Skipping"
else
echo "source \"$DOTFILES_DIR/tmux.conf\"" >>"$_tmux_conf"
fi
}

##############################


Loading…
取消
儲存