diff --git a/README.rst b/README.rst index 84d70e6b..ce076344 100644 --- a/README.rst +++ b/README.rst @@ -100,7 +100,7 @@ Install with, HOOK='eval "$(direnv hook '$DEFAULT_SHELL')"' # Install the hook, if not already - grep "$HOOK" $SHELL_RC_FILE || echo "$HOOK" >>$SHELL_RC_FILE + grep ^"$HOOK"$ $SHELL_RC_FILE || echo "$HOOK" >>$SHELL_RC_FILE source $SHELL_RC_FILE This is what the ``.envrc`` file is for. It automatically activates ``venv``. diff --git a/tests/resources/prefs.json b/tests/resources/prefs.json deleted file mode 100644 index 27b89209..00000000 --- a/tests/resources/prefs.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "current_user": 1 -}