From 784c3bca6f7cf1514bcda8c0e4556f8723edce3a Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 10 Jan 2013 18:05:10 +0900 Subject: [PATCH 1/3] disable git alias wc, use git-wc.py --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 629bf58..0bb51cc 100755 --- a/setup.sh +++ b/setup.sh @@ -72,7 +72,7 @@ git_config(){ # git config --global alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" git config --global alias.addi "add -i" git config --global alias.clean-p "!test -z \"\$(git status -s -uno)\"" - git config --global alias.wc "!git ls-files -z | xargs -0 wc" + #git config --global alias.wc "!git ls-files -z | xargs -0 wc" # git config --global push.default "simple" if _iswindows; then git config --global core.fileMode false From cd4a0f0e7546d2fbcdc51c5e0225f156b9d995db Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 15 Jan 2013 01:59:59 +0900 Subject: [PATCH 2/3] add git alias gr --- emacs.el | 3 +-- setup.sh | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 3b6eda6..d9c87ca 100644 --- a/emacs.el +++ b/emacs.el @@ -1593,8 +1593,7 @@ if arg given, use that eshell buffer, otherwise make new eshell buffer." ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; frame buffer -;; todo: -;; work well when opening the file that was already opened on another window +;; todo: work well when opening files already opened on another window (add-hook 'after-make-frame-functions (lambda (f) diff --git a/setup.sh b/setup.sh index 0bb51cc..7eb2f21 100755 --- a/setup.sh +++ b/setup.sh @@ -65,6 +65,7 @@ git_config(){ git config --global alias.cim "commit --verbose -m" git config --global alias.di "diff --color" git config --global alias.me "merge --no-ff --stat -v" + git config --global alias.gr "grep -n" # git config --global alias.ls "ls-files -v --full-name" git config --global alias.ls "status -u -s ." git config --global alias.sl "!sl" From fae2b00daa6c491abc4700361208be32fd5f014e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 15 Jan 2013 16:25:42 +0900 Subject: [PATCH 3/3] add comment --- tmux.conf.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tmux.conf.pl b/tmux.conf.pl index ccdff19..39438a2 100755 --- a/tmux.conf.pl +++ b/tmux.conf.pl @@ -42,6 +42,7 @@ sub set_key { } sub set_prefs { + # this does not workd because `run' do script asyncly set("base-index", "1"); set("pane-base-index", "1"); setw("mode-keys", "vi");