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