Customize REPO with env variable - notes - a console notes manager using git DIR Log DIR Files DIR Refs DIR Tags DIR LICENSE --- DIR commit ce023c3de7b4912fd987ab660606a8a67a88c47d DIR parent cd514f9fb3d6f5753d014f908f89d142989fc7a7 HTML Author: Solene Rapenne <solene@perso.pw> Date: Fri, 13 Jul 2018 18:20:07 +0200 Customize REPO with env variable Diffstat: M notes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/notes b/notes @@ -2,7 +2,7 @@ # tool for taking notes inside a git repository -REPO=~/notes/ +test -z "$REPO" && REPO=~/notes/ # default editor to vi if [ -z "$EDITOR" ]; then