diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-01-23 15:12:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-01-23 15:12:23 +0800 |
commit | 9d3b3e24d6a94e3d5ac471c13bb6e955805e197f (patch) | |
tree | 0bd46b9556b1ed55cc8670a11fb652c8920303ee | |
parent | f92241cc90d60010be995ec9dbbcd9b774af5b09 (diff) |
update
-rw-r--r-- | alias | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -34,7 +34,8 @@ alias g='gist' | |||
34 | alias gl='gist last' | 34 | alias gl='gist last' |
35 | 35 | ||
36 | # shell | 36 | # shell |
37 | alias s='sudo' | 37 | alias s='systemctl' |
38 | alias j='journalctl -xe' | ||
38 | alias path="echo $PATH" | 39 | alias path="echo $PATH" |
39 | alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" | 40 | alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" |
40 | alias src="source $HOME/.$(basename $SHELL)rc" | 41 | alias src="source $HOME/.$(basename $SHELL)rc" |
@@ -118,7 +119,7 @@ alias cdgs='cd $(git submodule status | sed "s/^.//" | cut -d" " -f2)' # cd to | |||
118 | 119 | ||
119 | # github | 120 | # github |
120 | export GITHUB_API='https://api.github.com' | 121 | export GITHUB_API='https://api.github.com' |
121 | export GITHUB_API_TOKEN=$(cat $SETTING_DIR/tokens/github 2>/dev/null) | 122 | export GITHUB_API_TOKEN="$(cat $SETTING_DIR/tokens/github 2>/dev/null)" |
122 | alias hub="GITHUB_TOKEN=$GITHUB_API_TOKEN hub" | 123 | alias hub="GITHUB_TOKEN=$GITHUB_API_TOKEN hub" |
123 | alias github_token='xdg-open https://github.com/settings/tokens' | 124 | alias github_token='xdg-open https://github.com/settings/tokens' |
124 | github() { | 125 | github() { |
@@ -337,18 +338,14 @@ up() { | |||
337 | 338 | ||
338 | # tmp | 339 | # tmp |
339 | alias and='cd ~/git/geoBingAn.Android' | 340 | alias and='cd ~/git/geoBingAn.Android' |
340 | alias cdo='cd ~/git/openmaptiles' | ||
341 | alias cdS='cd ~/git/StreetComplete' | 341 | alias cdS='cd ~/git/StreetComplete' |
342 | alias cdW='cd ~/git/geoBingAnWeb' | ||
343 | alias cdT='cd ~/git/taiwan-topo' | 342 | alias cdT='cd ~/git/taiwan-topo' |
344 | alias cdand='cd ~/git/sample' | 343 | alias cdand='cd ~/git/sample' |
345 | alias cdm='cd ~/git/mapstew' | 344 | alias cdm='cd ~/git/mapstew' |
346 | alias cdma='cd ~/git/mapstew-android' | 345 | alias cdma='cd ~/git/mapstew-android' |
347 | alias cdT='cd ~/git/tilemaker' | 346 | alias cdT='cd ~/git/tilemaker' |
348 | alias cdL='cd ~/Insync/pham@geothings.tw/Google\ Drive\ -\ Shared\ drives/LEOTEK' | ||
349 | alias cdssh='cd ~/.ssh' | 347 | alias cdssh='cd ~/.ssh' |
350 | alias stew='cd ~/git/mapstew' | 348 | alias stew='cd ~/git/mapstew' |
351 | alias mac='ssh geothings@192.168.8.33' | ||
352 | alias chmodx='sudo chmod +x' | 349 | alias chmodx='sudo chmod +x' |
353 | 350 | ||
354 | TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' | 351 | TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' |