diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-07 11:21:24 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-07 11:21:24 +0800 |
| commit | c7ed81e664a592db8fc9a9a6e8f44843de8024a1 (patch) | |
| tree | b6c3e2058822550ad86ca03adbb7693a49e1a47a /alias | |
| parent | 0f098771b18d6d6525fc771bd85c822ab89365f0 (diff) | |
Update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -114,6 +114,7 @@ alias findn='find . -iname' | |||
| 114 | alias ce='crontab -e' | 114 | alias ce='crontab -e' |
| 115 | alias cl='crontab -l' | 115 | alias cl='crontab -l' |
| 116 | alias df='df -h' | 116 | alias df='df -h' |
| 117 | bak() { cp $1 $1.bak; } | ||
| 117 | 118 | ||
| 118 | # }}} | 119 | # }}} |
| 119 | # Clipboard{{{ | 120 | # Clipboard{{{ |
| @@ -521,9 +522,6 @@ mvt.decode() { | |||
| 521 | fi | 522 | fi |
| 522 | mvt_decode.py $tmp | tr \' \" | sed 's/True/true/g; s/False/false/g' | 523 | mvt_decode.py $tmp | tr \' \" | sed 's/True/true/g; s/False/false/g' |
| 523 | } | 524 | } |
| 524 | bak() { | ||
| 525 | cp $1 $1.bak | ||
| 526 | } | ||
| 527 | wrap2geojson() { jq -s '{ type: "FeatureCollection", features: . }'; } | 525 | wrap2geojson() { jq -s '{ type: "FeatureCollection", features: . }'; } |
| 528 | alias cdtrash='cd ~/.local/share/Trash' | 526 | alias cdtrash='cd ~/.local/share/Trash' |
| 529 | trash() { mv $@ ~/.local/share/Trash; } | 527 | trash() { mv $@ ~/.local/share/Trash; } |