diff options
author | typebrook <typebrook@gmail.com> | 2019-08-16 12:33:12 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-08-16 12:33:12 +0800 |
commit | d63d4535f6fc99fd0d0e89fd6f9963dd37629c54 (patch) | |
tree | 30dafb824a4955a8c7e2a35b4232d9ee42fb47f7 | |
parent | 146608a93032045d2fa219108b6ab4a5b9d6840b (diff) |
update
-rw-r--r-- | alias | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -146,7 +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='python3 $SETTING_DIR/scripts/mvt_decode.py' | 149 | alias mvt_decode="_mvt_decode" |
150 | _mvt_decode() { | ||
151 | python3 $SETTING_DIR/scripts/mvt_decode.py $1 | tr \' \" | sed 's/True/true/g' | jq . | ||
152 | } | ||
150 | alias big52utf8='_big52utf8' | 153 | alias big52utf8='_big52utf8' |
151 | _big52utf8() { | 154 | _big52utf8() { |
152 | iconv -f BIG-5 -t UTF-8 $1 > $1.utf8 | 155 | iconv -f BIG-5 -t UTF-8 $1 > $1.utf8 |