diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-03-11 18:38:06 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-03-11 18:38:06 +0800 |
| commit | ef96048994ef06c097be3da25540d8b7e66eb7ef (patch) | |
| tree | 312eb1c4918f2e51da21526bc6a87fe1063a3752 | |
| parent | f73ae1720d5ca7ad2bf3784a3294b29d4c6c3ee5 (diff) | |
update
| -rw-r--r-- | alias | 2 | ||||
| -rw-r--r-- | tigrc | 1 |
2 files changed, 3 insertions, 0 deletions
| @@ -32,6 +32,8 @@ fix() { | |||
| 32 | } | 32 | } |
| 33 | alias g='gist' | 33 | alias g='gist' |
| 34 | alias gl='gist last' | 34 | alias gl='gist last' |
| 35 | unalias gg &>/dev/null | ||
| 36 | alias gg='gist grep' | ||
| 35 | 37 | ||
| 36 | # shell | 38 | # shell |
| 37 | alias s='sudo systemctl' | 39 | alias s='sudo systemctl' |
| @@ -162,6 +162,7 @@ bind main ! ?git revert %(commit) | |||
| 162 | # tag | 162 | # tag |
| 163 | bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit) | 163 | bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit) |
| 164 | bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a | 164 | bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a |
| 165 | bind generic TSN !git tag "%(prompt Enter tag name: )" %(commit) -s | ||
| 165 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(Rename tag to? )" %(commit)' | 166 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(Rename tag to? )" %(commit)' |
| 166 | bind generic TM @sh -c 'git cat-file -p %(tag) |\ | 167 | bind generic TM @sh -c 'git cat-file -p %(tag) |\ |
| 167 | sed -n \'6,$p\' |\ | 168 | sed -n \'6,$p\' |\ |