diff options
| author | typebrook <typebrook@gmail.com> | 2018-11-15 11:53:57 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2018-11-15 11:53:57 +0800 |
| commit | 26d3ecf2ed2648635959aca33cff822a1769c466 (patch) | |
| tree | e8b6e318f8cd5fa4f9eb192fe989a5a06c9866eb | |
| parent | 68bf7aa2c5160f799c5f69ee0737b4eb40cbe1bb (diff) | |
update
| -rw-r--r-- | .bash_aliases | 3 | ||||
| -rw-r--r-- | Makefile | 11 |
2 files changed, 8 insertions, 6 deletions
diff --git a/.bash_aliases b/.bash_aliases index e488a3f..5f054d6 100644 --- a/.bash_aliases +++ b/.bash_aliases | |||
| @@ -22,6 +22,7 @@ alias commit='git commit' | |||
| 22 | alias branch='git branch' | 22 | alias branch='git branch' |
| 23 | alias pull='git pull' | 23 | alias pull='git pull' |
| 24 | alias fetch='git fetch' | 24 | alias fetch='git fetch' |
| 25 | alias merge='git merge' | ||
| 25 | 26 | ||
| 26 | # docker | 27 | # docker |
| 27 | alias dp='docker ps' | 28 | alias dp='docker ps' |
| @@ -53,8 +54,6 @@ alias x='xdg-open' | |||
| 53 | alias f='free -h' | 54 | alias f='free -h' |
| 54 | alias yl='youtube-dl' | 55 | alias yl='youtube-dl' |
| 55 | alias raw='echo "https://raw.githubusercontent.com"' | 56 | alias raw='echo "https://raw.githubusercontent.com"' |
| 56 | alias sshkey='curl $(raw)/typebrook/settings/master/blob/master/gcp | cat' | ||
| 57 | alias sshgcp='curl $(raw)/typebrook/settings/master/blob/master/gcp > ./gcp' | ||
| 58 | 57 | ||
| 59 | # tmp | 58 | # tmp |
| 60 | alias geo='cd ~/git/geoBingAnWeb' | 59 | alias geo='cd ~/git/geoBingAnWeb' |
| @@ -1,9 +1,12 @@ | |||
| 1 | apply-alias: | 1 | apply-alias: |
| 2 | rm ~/.bash_aliases | 2 | rm -f ~/.bash_aliases |
| 3 | ln ./.bash_aliases ~/.bash_aliases | 3 | ln -s `pwd`/.bash_aliases ~/.bash_aliases |
| 4 | apply-vim: | 4 | apply-vim: |
| 5 | rm ~/.vim_runtime/my_configs.vim | 5 | rm -f ~/.vim_runtime/my_configs.vim |
| 6 | ln ./.vimrc ~/.vim_runtime/my_configs.vim | 6 | ln -s `pwd`/.vimrc ~/.vim_runtime/my_configs.vim |
| 7 | apply-tig: | ||
| 8 | rm -f ~/.tigrc | ||
| 9 | ln -s `pwd`/.tigrc ~/.tigrc | ||
| 7 | push: | 10 | push: |
| 8 | git commit -am "update" | 11 | git commit -am "update" |
| 9 | git push | 12 | git push |