aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--alias2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias b/alias
index dadbe5e..0c03e6b 100644
--- a/alias
+++ b/alias
@@ -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}