Răsfoiți Sursa

add git reset alias and tmux setup for home

Weiyi Lou 13 ani în urmă
părinte
comite
0315ef3163
2 a modificat fișierele cu 16 adăugiri și 1 ștergeri
  1. 14 0
      tmux/tmuxinator/home.yml
  2. 2 1
      zsh/omz-custom/git.zsh

+ 14 - 0
tmux/tmuxinator/home.yml

@@ -0,0 +1,14 @@
+# ~/.tmuxinator/home.yml
+# some windows I tend to use at home
+project_name: Home
+project_root: ~/
+tabs:
+  - home:
+  - dotfiles: cd. && gs
+  - brew: brew update
+  - howto: cd Dropbox/HowTo && vim
+  - servers:
+      layout: even-horizontal
+      panes:
+        - ursa
+        - fornax

+ 2 - 1
zsh/omz-custom/git.zsh

@@ -19,9 +19,10 @@ alias glS='git log -S'
 alias glp='git log --patch'
 alias gls='git log --graph --stat'
 
-alias grb='git rebase'
+alias gr='git reset'
 alias grh='git reset --hard'
 alias grs='git reset --soft'
+alias grb='git rebase'
 
 alias gsr='git show --format=raw'