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] 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"