We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448ca88 commit 8731251Copy full SHA for 8731251
README.rst
@@ -100,7 +100,7 @@ Install with,
100
HOOK='eval "$(direnv hook '$DEFAULT_SHELL')"'
101
102
# Install the hook, if not already
103
- grep "$HOOK" $SHELL_RC_FILE || echo "$HOOK" >>$SHELL_RC_FILE
+ grep ^"$HOOK"$ $SHELL_RC_FILE || echo "$HOOK" >>$SHELL_RC_FILE
104
source $SHELL_RC_FILE
105
106
This is what the ``.envrc`` file is for. It automatically activates ``venv``.
tests/resources/prefs.json
0 commit comments