aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gitconfig6
-rw-r--r--tigrc4
2 files changed, 4 insertions, 6 deletions
diff --git a/gitconfig b/gitconfig
index c6bfa33..0ae8ef0 100644
--- a/gitconfig
+++ b/gitconfig
@@ -1,5 +1,5 @@
1[user] 1[user]
2 email = typebrook@topo.tw 2 email = pham@topo.tw
3 name = Hsieh Chin Fan 3 name = Hsieh Chin Fan
4 signingkey = 6DD8C14A 4 signingkey = 6DD8C14A
5 5
@@ -8,7 +8,6 @@
8 smtpuser = pham 8 smtpuser = pham
9 smtpencryption = tls 9 smtpencryption = tls
10 smtpserverport = 587 10 smtpserverport = 587
11 smtpPass = `pass pham@topo.tw`
12 11
13[gpg] 12[gpg]
14 program = gpg2 13 program = gpg2
@@ -32,9 +31,6 @@
32[pull] 31[pull]
33 ff = only 32 ff = only
34 33
35[credential]
36 helper = store
37
38[filter "lfs"] 34[filter "lfs"]
39 process = git-lfs filter-process 35 process = git-lfs filter-process
40 required = true 36 required = true
diff --git a/tigrc b/tigrc
index 3b6eec5..bf410a0 100644
--- a/tigrc
+++ b/tigrc
@@ -184,7 +184,9 @@ bind generic pt ?git push --tags
184bind generic pT ?git push %(remote) %(tag) 184bind generic pT ?git push %(remote) %(tag)
185 185
186# search in history 186# search in history
187bind main S >sh -c 'git log -G "%(prompt Search: )" --pretty=raw | tig --pretty=raw' 187bind main S none
188bind main Sl >sh -c 'git log -G --pretty=raw "%(prompt Lines contains: )" | tig --pretty=raw'
189bind main Sf >sh -c 'git log --pretty=raw -- "*%(prompt Filename: )*" --pretty=raw | tig --pretty=raw'
188 190
189# submodule 191# submodule
190bind main Zu ?>git submodule update 192bind main Zu ?>git submodule update