aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias1
-rwxr-xr-xtools/init/sync.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index daff412..bbf4f00 100644
--- a/alias
+++ b/alias
@@ -51,6 +51,7 @@ alias rmrf='[[ `pwd` =~ ^$HOME.* ]] && [[ ! $PATH =~ `pwd` ]] && rm -rf'
51alias rr='_move_to_tmp' 51alias rr='_move_to_tmp'
52alias sound="echo -ne '\a'" 52alias sound="echo -ne '\a'"
53alias pst="pstree -ps $$" 53alias pst="pstree -ps $$"
54alias duu='du -hd 1 . | sort -hr'
54cdp() { 55cdp() {
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
9sync ~/vimwiki 9sync ~/vimwiki
10sync ~/.task 10sync ~/.task
11sync ~/.password-store 11sync ~/.password-store
12sync ~/.vim_runtime
12 13
13# others repo 14# others repo
14check_upstream ~/git/tig || echo in `pwd` >/dev/tty & 15check_upstream ~/git/tig || echo in `pwd` >/dev/tty &
15check_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