diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-05-05 11:24:24 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-05-05 11:24:24 +0800 |
| commit | 8ac904277c94ac81642f22fb4ddbdc4ca0a1ac6a (patch) | |
| tree | 020341ee2e0e473999dd6a37928ccf6a4b5598b7 | |
| parent | 3dc48bf9a8023863db66bc066cdf5d0c41a6fffb (diff) | |
update
| -rw-r--r-- | alias | 1 | ||||
| -rw-r--r-- | tigrc | 4 |
2 files changed, 3 insertions, 2 deletions
| @@ -49,6 +49,7 @@ alias hg='history | grep' | |||
| 49 | alias rmrf='rm -rf' | 49 | alias rmrf='rm -rf' |
| 50 | alias rr='_move_to_tmp' | 50 | alias rr='_move_to_tmp' |
| 51 | alias sound="echo -ne '\a'" | 51 | alias sound="echo -ne '\a'" |
| 52 | alias pst="pstree -ps $$" | ||
| 52 | cdp() { | 53 | cdp() { |
| 53 | [[ ! -d $1 ]] && mkdir -p $1 | 54 | [[ ! -d $1 ]] && mkdir -p $1 |
| 54 | cd $1 | 55 | cd $1 |
| @@ -166,8 +166,8 @@ bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a | |||
| 166 | bind generic TSN !git tag "%(prompt Enter tag name: )" %(commit) -s | 166 | bind generic TSN !git tag "%(prompt Enter tag name: )" %(commit) -s |
| 167 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(Rename tag to? )" %(commit)' | 167 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(Rename tag to? )" %(commit)' |
| 168 | bind generic TM @sh -c 'git cat-file -p %(tag) |\ | 168 | bind generic TM @sh -c 'git cat-file -p %(tag) |\ |
| 169 | sed -n \'6,$p\' |\ | 169 | sed -n \'6,$p\' |\ |
| 170 | (git tag -d %(tag) && git tag "%(prompt Rename tag into? )" -a -F -) > /dev/null' | 170 | (git tag -d %(tag) && git tag "%(prompt Rename tag into? )" -a -F -) > /dev/null' |
| 171 | bind generic Tc !sh -c 'git tag %(tag) %(tag)^{} -f -m \"$(git tag %(tag) -n10)\" -e' | 171 | bind generic Tc !sh -c 'git tag %(tag) %(tag)^{} -f -m \"$(git tag %(tag) -n10)\" -e' |
| 172 | bind generic Tl !sh -c 'git ls-remote --tags %(remote) | grep %(tag)' | 172 | bind generic Tl !sh -c 'git ls-remote --tags %(remote) | grep %(tag)' |
| 173 | bind generic Ts >tig show %(tag) | 173 | bind generic Ts >tig show %(tag) |