diff options
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ vp() { | |||
210 | 210 | ||
211 | # Edit locally | 211 | # Edit locally |
212 | vim $tmpfile --cmd "autocmd BufWritePost $tmpfile silent! :!setsid scp % vps:$post &" && \ | 212 | vim $tmpfile --cmd "autocmd BufWritePost $tmpfile silent! :!setsid scp % vps:$post &" && \ |
213 | cat $tmpfile | ssh vps "cd ~/blog && cat >$post && git add $post && git commit -m 'update'" && \ | 213 | cat $tmpfile | ssh vps "cd ~/blog && cat >$post && git add $post && git commit -m 'Update with vim'" && \ |
214 | rm $tmpfile | 214 | rm $tmpfile |
215 | fi | 215 | fi |
216 | } | 216 | } |