From 07ef28e8a2f67f7f8fae5f6c6ecaf87858bc7f47 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 10 Jun 2013 11:23:55 +0900 Subject: [PATCH 1/3] add git alias new --- setup.sh | 7 ++++--- vimrc | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index f7822bb..7d816ac 100755 --- a/setup.sh +++ b/setup.sh @@ -79,6 +79,7 @@ git_config(){ # $_gitconfig alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" $_gitconfig alias.addi "add -i" $_gitconfig alias.clean-p "!test -z \"\$(git status -s -uno)\"" + $_gitconfig alias.new "checkout -b" #$_gitconfig alias.wc "!git ls-files -z | xargs -0 wc" # $_gitconfig push.default "simple" if _iswindows; then @@ -87,9 +88,9 @@ git_config(){ } install_files(){ - src_hilite_src="`pwd`/conf/src-hilite.style" - src_hilite_dst="$HOME/.local/share/source-highlight/src_hilite.style" - install -D --backup "$src_hilite_src" "$src_hilite_dst" + src_hilite_src="`pwd`/conf/src-hilite.style" + src_hilite_dst="$HOME/.local/share/source-highlight/src_hilite.style" + #install -D --backup "$src_hilite_src" "$src_hilite_dst" } mac_defaults(){ diff --git a/vimrc b/vimrc index 4018093..c011595 100644 --- a/vimrc +++ b/vimrc @@ -1,4 +1,4 @@ -" load external file +" "load external file " if filereadable(expand('~/.dotfiles/vimrc')) " source ~/.dotfiles/vimrc " endif From 9f44a0a4651d9c5fe6ac747e25047af29617022b Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 13 Jun 2013 13:46:10 +0900 Subject: [PATCH 2/3] add todo --- bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bashrc b/bashrc index 00ef9c3..0e62117 100755 --- a/bashrc +++ b/bashrc @@ -1,5 +1,7 @@ #!/bin/bash +# TODO: use tput + # If not running interactively, don't do anything [[ $- != *i* ]] && return From 3f96d838a7bcea8fc5a4212c6063b6094c19db3c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 15 Jun 2013 15:01:51 +0900 Subject: [PATCH 3/3] tmux: do not bold current window --- tmux.conf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux.conf.pl b/tmux.conf.pl index 36ee220..db74776 100755 --- a/tmux.conf.pl +++ b/tmux.conf.pl @@ -88,7 +88,7 @@ sub set_colors { setw("window-status-current-bg", "white"); setw("window-status-current-fg", "black"); - setw("window-status-current-attr", "bold"); + #setw("window-status-current-attr", "bold"); } sub main {