diff options
| -rw-r--r-- | Makefile | 1 | ||||
| -rw-r--r-- | alias | 2 | ||||
| -rwxr-xr-x | scripts/refresh-todo.sh | 2 |
3 files changed, 2 insertions, 3 deletions
| @@ -15,7 +15,6 @@ vim: | |||
| 15 | rm -f ~/.vim_runtime/my_configs.vim | 15 | rm -f ~/.vim_runtime/my_configs.vim |
| 16 | ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim | 16 | ln -s `pwd`/vimrc ~/.vim_runtime/my_configs.vim |
| 17 | 17 | ||
| 18 | |||
| 19 | git: | 18 | git: |
| 20 | rm -f ~/.gitconfig | 19 | rm -f ~/.gitconfig |
| 21 | ln -s `pwd`/gitconfig ~/.gitconfig | 20 | ln -s `pwd`/gitconfig ~/.gitconfig |
| @@ -208,7 +208,7 @@ function image_vertical() { | |||
| 208 | } | 208 | } |
| 209 | 209 | ||
| 210 | # misc | 210 | # misc |
| 211 | alias token="cd $SETTING_DIR/tokens && vim $SETTING_DIR/tokens" | 211 | alias token="cd $SETTING_DIR/tokens && ls -lh" |
| 212 | alias gr='_grepString' | 212 | alias gr='_grepString' |
| 213 | function _grepString() { | 213 | function _grepString() { |
| 214 | grep -R $1 . | 214 | grep -R $1 . |
diff --git a/scripts/refresh-todo.sh b/scripts/refresh-todo.sh index a5f0bb2..7931536 100755 --- a/scripts/refresh-todo.sh +++ b/scripts/refresh-todo.sh | |||
| @@ -2,4 +2,4 @@ | |||
| 2 | 2 | ||
| 3 | # $1 as file, $2 as topic (Daily, Weekly, Monthly) | 3 | # $1 as file, $2 as topic (Daily, Weekly, Monthly) |
| 4 | # change markdown check-list to empty | 4 | # change markdown check-list to empty |
| 5 | sed -i "/## $2/,/^$/ s/\[.\]/\[ \]/" $1 | 5 | sed -i "/^## $2/,/^$/ s/\[.\]/\[ \]/" $1 |