aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
Diffstat (limited to 'alias')
-rw-r--r--alias9
1 files changed, 3 insertions, 6 deletions
diff --git a/alias b/alias
index 60e49b7..ebc1d26 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='sudo systemctl'
38alias j='sudo 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() {
@@ -338,18 +339,14 @@ up() {
338 339
339# tmp 340# tmp
340alias and='cd ~/git/geoBingAn.Android' 341alias and='cd ~/git/geoBingAn.Android'
341alias cdo='cd ~/git/openmaptiles'
342alias cdS='cd ~/git/StreetComplete' 342alias cdS='cd ~/git/StreetComplete'
343alias cdW='cd ~/git/geoBingAnWeb'
344alias cdT='cd ~/git/taiwan-topo' 343alias cdT='cd ~/git/taiwan-topo'
345alias cdand='cd ~/git/sample' 344alias cdand='cd ~/git/sample'
346alias cdm='cd ~/git/mapstew' 345alias cdm='cd ~/git/mapstew'
347alias cdma='cd ~/git/mapstew-android' 346alias cdma='cd ~/git/mapstew-android'
348alias cdT='cd ~/git/tilemaker' 347alias cdT='cd ~/git/tilemaker'
349alias cdL='cd ~/Insync/pham@geothings.tw/Google\ Drive\ -\ Shared\ drives/LEOTEK'
350alias cdssh='cd ~/.ssh' 348alias cdssh='cd ~/.ssh'
351alias stew='cd ~/git/mapstew' 349alias stew='cd ~/git/mapstew'
352alias mac='ssh geothings@192.168.8.33'
353alias chmodx='sudo chmod +x' 350alias chmodx='sudo chmod +x'
354 351
355TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' 352TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305'