Browse Source

add git alias gr

pull/1/head
10sr 11 years ago
parent
commit
cd4a0f0e75
2 changed files with 2 additions and 2 deletions
  1. +1
    -2
      emacs.el
  2. +1
    -0
      setup.sh

+ 1
- 2
emacs.el View File

@@ -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)


+ 1
- 0
setup.sh View File

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


Loading…
Cancel
Save