Compare commits
6 Commits
85cee95c2e
...
51b8138cf3
| Author | SHA1 | Date | |
|---|---|---|---|
| 51b8138cf3 | |||
| 790c132e07 | |||
| 4360067486 | |||
| bc00f7a310 | |||
| 16545b322f | |||
| dafc207f96 |
@ -31,7 +31,7 @@ export ORIG_PS1=${PS1}
|
|||||||
|
|
||||||
if which direnv &> /dev/null; then
|
if which direnv &> /dev/null; then
|
||||||
update_prompt() {
|
update_prompt() {
|
||||||
if direnv status | grep -iq 'RC allowed true'; then
|
if direnv status | grep -iEq 'RC allowed (true|0)'; then
|
||||||
PS1=${DIRENV_PS1}
|
PS1=${DIRENV_PS1}
|
||||||
else
|
else
|
||||||
PS1=${ORIG_PS1}
|
PS1=${ORIG_PS1}
|
||||||
|
|||||||
@ -6,7 +6,6 @@ set -ex
|
|||||||
echo "PWD: $PWD"
|
echo "PWD: $PWD"
|
||||||
# Coder dotfiles (and most other ways of doing this) will not do a recursive clone, so do that in install script.
|
# 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
|
git submodule init && git submodule update
|
||||||
|
|
||||||
# Match case insensitively to make things easier for this part
|
# Match case insensitively to make things easier for this part
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user