diff options
author | typebrook <typebrook@gmail.com> | 2019-08-16 15:12:37 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-08-16 15:12:37 +0800 |
commit | 22a15902d24a2fea5da5f8c272fae91b62f45489 (patch) | |
tree | 086052f1b63b88b32e1244c1ebd224b4bb1c3086 | |
parent | d63d4535f6fc99fd0d0e89fd6f9963dd37629c54 (diff) |
update
-rw-r--r-- | alias | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -146,12 +146,10 @@ alias hp='http-prompt' | |||
146 | alias clocg='cloc --vcs=git' | 146 | alias clocg='cloc --vcs=git' |
147 | alias tma='tmux a' | 147 | alias tma='tmux a' |
148 | alias mm='mkvmerge -o out.webm -w 01.webm + 02.webm' | 148 | alias mm='mkvmerge -o out.webm -w 01.webm + 02.webm' |
149 | alias mvt_decode="_mvt_decode" | 149 | mvt_decode() { |
150 | _mvt_decode() { | ||
151 | python3 $SETTING_DIR/scripts/mvt_decode.py $1 | tr \' \" | sed 's/True/true/g' | jq . | 150 | python3 $SETTING_DIR/scripts/mvt_decode.py $1 | tr \' \" | sed 's/True/true/g' | jq . |
152 | } | 151 | } |
153 | alias big52utf8='_big52utf8' | 152 | big52utf8() { |
154 | _big52utf8() { | ||
155 | iconv -f BIG-5 -t UTF-8 $1 > $1.utf8 | 153 | iconv -f BIG-5 -t UTF-8 $1 > $1.utf8 |
156 | } | 154 | } |
157 | 155 | ||