aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-03-29 18:19:03 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-03-29 18:19:03 +0800
commitbd181336587e55a58550bb9305cbe862e8f83e96 (patch)
treeca030375c109ebefd10b6a7a0da145d3e1c973b6
parent2643c7d5fbc0873b20ebe212c5e3497b87db0226 (diff)
update
-rw-r--r--alias16
1 files changed, 10 insertions, 6 deletions
diff --git a/alias b/alias
index 9290cd0..e9dc6fd 100644
--- a/alias
+++ b/alias
@@ -35,7 +35,8 @@ alias gl='gist last'
35unalias gg &>/dev/null 35unalias gg &>/dev/null
36alias gg='gist grep' 36alias gg='gist grep'
37 37
38# shell 38# unix
39alias chmodx='sudo chmod +x'
39alias s='sudo systemctl' 40alias s='sudo systemctl'
40alias j='sudo journalctl -xe' 41alias j='sudo journalctl -xe'
41alias path="echo $PATH" 42alias path="echo $PATH"
@@ -207,6 +208,7 @@ drb() {
207} 208}
208 209
209# ssh 210# ssh
211alias cdssh='cd ~/.ssh'
210alias ptt='ssh bbsu@ptt.cc' 212alias ptt='ssh bbsu@ptt.cc'
211alias topo='ssh topo.tw' 213alias topo='ssh topo.tw'
212alias geothings-test='ssh geothings@test.geothings.tw' 214alias geothings-test='ssh geothings@test.geothings.tw'
@@ -350,7 +352,7 @@ tt() {
350 ( cd ~/.task && git add --all && git commit -m 'update' && git push origin & ) &>/dev/null 352 ( cd ~/.task && git add --all && git commit -m 'update' && git push origin & ) &>/dev/null
351} 353}
352 354
353# upload 355# upload with 0x0.st
354up() { 356up() {
355 curl -F"file=@${1}" http://0x0.st 357 curl -F"file=@${1}" http://0x0.st
356} 358}
@@ -358,6 +360,12 @@ short() {
358 curl -F"shorten=${1}" http://0x0.st 360 curl -F"shorten=${1}" http://0x0.st
359} 361}
360 362
363# pass
364alias cdpass='cd ~/.password-store'
365alias p='pass'
366alias pc='pass -c'
367alias pgc='pass generate -c'
368
361# tmp 369# tmp
362alias and='cd ~/git/geoBingAn.Android' 370alias and='cd ~/git/geoBingAn.Android'
363alias cdS='cd ~/git/StreetComplete' 371alias cdS='cd ~/git/StreetComplete'
@@ -366,12 +374,8 @@ alias cdand='cd ~/git/sample'
366alias cdm='cd ~/git/mapstew' 374alias cdm='cd ~/git/mapstew'
367alias cdma='cd ~/git/mapstew-android' 375alias cdma='cd ~/git/mapstew-android'
368alias cdT='cd ~/git/tilemaker' 376alias cdT='cd ~/git/tilemaker'
369alias cdssh='cd ~/.ssh'
370alias cdpass='cd ~/.password-store'
371alias pc='pass -c'
372alias cdngx='cd /etc/nginx' 377alias cdngx='cd /etc/nginx'
373alias stew='cd ~/git/mapstew' 378alias stew='cd ~/git/mapstew'
374alias chmodx='sudo chmod +x'
375 379
376TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' 380TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305'
377TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312' 381TAIWAN_BBOX_V='20.72799,118.1036,26.60305,122.9312'