diff --git a/misc/push-pull/pull b/misc/push-pull/pull new file mode 100755 index 0000000..7f4cc34 --- /dev/null +++ b/misc/push-pull/pull @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "x$1" = "x-usage" ]; then + echo push memo from server + exit +fi + +cd $MEMODIR && git pull origin master + diff --git a/misc/push-pull/pull.cmd b/misc/push-pull/pull.cmd new file mode 100644 index 0000000..d5dd11b --- /dev/null +++ b/misc/push-pull/pull.cmd @@ -0,0 +1,7 @@ +@echo off +if "x%1" neq "x-usage" goto run +echo pull memo from server +goto :eof +:run +setlocal +cd %MEMODIR% && git pull origin master diff --git a/misc/push-pull/push b/misc/push-pull/push new file mode 100755 index 0000000..9ea88d9 --- /dev/null +++ b/misc/push-pull/push @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "x$1" = "x-usage" ]; then + echo push memo to server + exit +fi + +cd $MEMODIR && git add -A --ignore-errors && git commit -m update && git push origin master diff --git a/misc/push-pull/push.cmd b/misc/push-pull/push.cmd new file mode 100644 index 0000000..1624a24 --- /dev/null +++ b/misc/push-pull/push.cmd @@ -0,0 +1,7 @@ +@echo off +if "x%1" neq "x-usage" goto run +echo push memo to server +goto :eof +:run +setlocal +cd %MEMODIR% && git add -A --ignore-errors && git commit -m update && git push origin master diff --git a/misc/completion.zsh b/misc/zsh-completion/completion.zsh similarity index 100% rename from misc/completion.zsh rename to misc/zsh-completion/completion.zsh