diff --git a/README.md b/README.md new file mode 100644 index 0000000..cee31dd --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Usage +``` +cp with_my.example with_my + +# edit path to your private configuration now: +vim with_my +``` +TODO add instructions to try it? diff --git a/with_my.example b/with_my.example new file mode 100755 index 0000000..1fbe415 --- /dev/null +++ b/with_my.example @@ -0,0 +1,10 @@ +#!/bin/bash +THISDIR="$(dirname "$0")" + + +PREV="" +if [[ -n $PYTHONPATH ]]; then + PREV=":$PYTHONPATH" +fi +export PYTHONPATH="$THISDIR$PREV" +exec "$@"