diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2021-07-11 13:25:14 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2021-07-11 13:25:14 +0800 |
commit | 1fc01072ba2016049882a22b558eaa361833666b (patch) | |
tree | fbd9ea9b975f868bb4bbac28e4c3ece430264848 | |
parent | 1a8295d962d5e1a3c4927290ba5e816acd0325e8 (diff) |
update
-rw-r--r-- | alias | 1 | ||||
-rwxr-xr-x | tools/init/sync.sh | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -51,6 +51,7 @@ alias rmrf='[[ `pwd` =~ ^$HOME.* ]] && [[ ! $PATH =~ `pwd` ]] && rm -rf' | |||
51 | alias rr='_move_to_tmp' | 51 | alias rr='_move_to_tmp' |
52 | alias sound="echo -ne '\a'" | 52 | alias sound="echo -ne '\a'" |
53 | alias pst="pstree -ps $$" | 53 | alias pst="pstree -ps $$" |
54 | alias duu='du -hd 1 . | sort -hr' | ||
54 | cdp() { | 55 | cdp() { |
55 | [[ ! -d $1 ]] && mkdir -p $1 | 56 | [[ ! -d $1 ]] && mkdir -p $1 |
56 | cd $1 | 57 | cd $1 |
diff --git a/tools/init/sync.sh b/tools/init/sync.sh index 7ba3906..5ade0c3 100755 --- a/tools/init/sync.sh +++ b/tools/init/sync.sh | |||
@@ -9,10 +9,10 @@ sync $SETTING_DIR | |||
9 | sync ~/vimwiki | 9 | sync ~/vimwiki |
10 | sync ~/.task | 10 | sync ~/.task |
11 | sync ~/.password-store | 11 | sync ~/.password-store |
12 | sync ~/.vim_runtime | ||
12 | 13 | ||
13 | # others repo | 14 | # others repo |
14 | check_upstream ~/git/tig || echo in `pwd` >/dev/tty & | 15 | check_upstream ~/git/tig || echo in `pwd` >/dev/tty & |
15 | check_upstream ~/.vim_runtime master || echo in `pwd` >/dev/tty & | ||
16 | 16 | ||
17 | # thunderbird | 17 | # thunderbird |
18 | #if [[ `cat /etc/hostname` != 'vultr' ]]; then | 18 | #if [[ `cat /etc/hostname` != 'vultr' ]]; then |