Skip to content

Commit

Permalink
better check for HOOK in .bashrc, rm prefs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
gamesguru committed Apr 23, 2024
1 parent 448ca88 commit 8731251
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down
3 changes: 0 additions & 3 deletions tests/resources/prefs.json

This file was deleted.

0 comments on commit 8731251

Please sign in to comment.