diff options
| author | typebrook <typebrook@gmail.com> | 2019-08-08 10:48:04 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-08-08 10:48:04 +0800 |
| commit | 04758a6d3fad290be2398d170b4421732767d460 (patch) | |
| tree | 1edf26da3ca8a35b4f38ae3a8e3a3a677df4f9ea /alias | |
| parent | b910522005934d1b0476fbb33123c01276c15a2b (diff) | |
update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 9 |
1 files changed, 5 insertions, 4 deletions
| @@ -1,4 +1,5 @@ | |||
| 1 | SETTING_DIR="$HOME/git/settings" | 1 | SETTING_DIR="$HOME/git/settings" |
| 2 | |||
| 2 | # settings | 3 | # settings |
| 3 | alias al='vim ~/.bash_aliases && source ~/.bash_aliases' | 4 | alias al='vim ~/.bash_aliases && source ~/.bash_aliases' |
| 4 | alias all='source ~/.bash_aliases' | 5 | alias all='source ~/.bash_aliases' |
| @@ -36,9 +37,9 @@ alias cdV='cd ~/Videos' | |||
| 36 | alias cdP='cd ~/Pictures' | 37 | alias cdP='cd ~/Pictures' |
| 37 | 38 | ||
| 38 | # about custom settings | 39 | # about custom settings |
| 39 | alias cds='cd ~/git/settings' | 40 | alias cds='cd $SETTING_DIR' |
| 40 | alias cdss='cd ~/git/settings/scripts' | 41 | alias cdss='cd $SETTING_DIR/scripts' |
| 41 | alias chs='cd ~/git/settings && tig status' # check setting changes | 42 | alias chs='cd $SETTING_DIR && tig status' # check setting changes |
| 42 | 43 | ||
| 43 | # about vimwiki | 44 | # about vimwiki |
| 44 | alias chw='cd ~/vimwiki && tig' | 45 | alias chw='cd ~/vimwiki && tig' |
| @@ -102,7 +103,7 @@ alias t='tig' | |||
| 102 | alias ts='tig status' | 103 | alias ts='tig status' |
| 103 | alias ta='tig --all' | 104 | alias ta='tig --all' |
| 104 | alias get-tig='curl -LO https://github.com/typebrook/tig/releases/download/tig-2.4.1/tig' | 105 | alias get-tig='curl -LO https://github.com/typebrook/tig/releases/download/tig-2.4.1/tig' |
| 105 | alias upload-tig='~/git/settings/scripts/upload-github-release-asset.sh github_api_token=$(head -1 $HOME/git/settings/tokens/github-release) owner=typebrook repo=tig tag=tig-2.4.1 filename=$(which tig)' | 106 | alias upload-tig='$SETTING_DIR/scripts/upload-github-release-asset.sh github_api_token=$(head -1 $SETTING_DIR/tokens/github-release) owner=typebrook repo=tig tag=tig-2.4.1 filename=$(which tig)' |
| 106 | 107 | ||
| 107 | # Android | 108 | # Android |
| 108 | alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.geobingan/.MainActivity_' | 109 | alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.geobingan/.MainActivity_' |