From 9d3b3e24d6a94e3d5ac471c13bb6e955805e197f Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 23 Jan 2021 15:12:23 +0800 Subject: update --- alias | 9 +++------ 1 file 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' alias gl='gist last' # shell -alias s='sudo' +alias s='systemctl' +alias j='journalctl -xe' alias path="echo $PATH" alias fd="echo /proc/$$/fd; ls -l /proc/$$/fd" alias src="source $HOME/.$(basename $SHELL)rc" @@ -118,7 +119,7 @@ alias cdgs='cd $(git submodule status | sed "s/^.//" | cut -d" " -f2)' # cd to # github export GITHUB_API='https://api.github.com' -export GITHUB_API_TOKEN=$(cat $SETTING_DIR/tokens/github 2>/dev/null) +export GITHUB_API_TOKEN="$(cat $SETTING_DIR/tokens/github 2>/dev/null)" alias hub="GITHUB_TOKEN=$GITHUB_API_TOKEN hub" alias github_token='xdg-open https://github.com/settings/tokens' github() { @@ -337,18 +338,14 @@ up() { # tmp alias and='cd ~/git/geoBingAn.Android' -alias cdo='cd ~/git/openmaptiles' alias cdS='cd ~/git/StreetComplete' -alias cdW='cd ~/git/geoBingAnWeb' alias cdT='cd ~/git/taiwan-topo' alias cdand='cd ~/git/sample' alias cdm='cd ~/git/mapstew' alias cdma='cd ~/git/mapstew-android' alias cdT='cd ~/git/tilemaker' -alias cdL='cd ~/Insync/pham@geothings.tw/Google\ Drive\ -\ Shared\ drives/LEOTEK' alias cdssh='cd ~/.ssh' alias stew='cd ~/git/mapstew' -alias mac='ssh geothings@192.168.8.33' alias chmodx='sudo chmod +x' TAIWAN_BBOX='118.1036,20.72799,122.9312,26.60305' -- cgit v1.2.3-70-g09d2