aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2023-02-20 16:17:06 +0800
committerHsieh Chin Fan <pham@topo.tw>2023-02-20 16:17:06 +0800
commit781b5e38af97adc152cb70f1b06fcd2d46f56fb0 (patch)
tree95b4013dd89fa6b253d9704592a1203e72085e94
parenta958ed29728e0e5dfbd8b5b4f73d1f245d49cae5 (diff)
Update
-rw-r--r--alias1
-rw-r--r--tigrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index f0a7fe7..bac0343 100644
--- a/alias
+++ b/alias
@@ -155,6 +155,7 @@ file.size() {
155} 155}
156highlight() { grep --color -E "$1|\$"; } 156highlight() { grep --color -E "$1|\$"; }
157alias iso8601='date --iso-8601=minutes' 157alias iso8601='date --iso-8601=minutes'
158alias lock='sudo chattr +i'
158 159
159 160
160# pacman 161# pacman
diff --git a/tigrc b/tigrc
index fbd54e5..13a8977 100644
--- a/tigrc
+++ b/tigrc
@@ -141,7 +141,7 @@ bind main pp ?git push
141bind main pP ?git push -u %(remote) %(branch):%(branch) 141bind main pP ?git push -u %(remote) %(branch):%(branch)
142bind main pr ?git push -u %(remote) %(branch):%(branch) 142bind main pr ?git push -u %(remote) %(branch):%(branch)
143bind main pc ?git push -u %(remote) %(commit):%(branch) 143bind main pc ?git push -u %(remote) %(commit):%(branch)
144bind main pR !git push -u '%(prompt Which remote? )' %(branch):%(branch) 144bind main pR ?git push -u '%(prompt Which remote? )' %(branch):%(branch)
145bind main pF ?git push --force 145bind main pF ?git push --force
146bind main pd ?git push %(remote) :%(branch) 146bind main pd ?git push %(remote) :%(branch)
147bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Which reference? )' 147bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Which reference? )'