Compare commits

...

6 Commits

2 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export ORIG_PS1=${PS1}
if which direnv &> /dev/null; then
update_prompt() {
if direnv status | grep -iq 'RC allowed true'; then
if direnv status | grep -iEq 'RC allowed (true|0)'; then
PS1=${DIRENV_PS1}
else
PS1=${ORIG_PS1}

View File

@ -6,7 +6,6 @@ set -ex
echo "PWD: $PWD"
# Coder dotfiles (and most other ways of doing this) will not do a recursive clone, so do that in install script.
git submodule init && git submodule update
# Match case insensitively to make things easier for this part
shopt -s nocasematch