diff options
| -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 |