Skip to content

Commit

Permalink
Maintain login shell status
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Dec 9, 2023
1 parent 799ba10 commit 57f8f72
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,12 @@ then

# Overlay current bash with a new instance, which will include the required
# environment variables.
exec bash
if shopt -q login_shell ; then
exec -l bash
else
exec bash
fi

fi
# <<< initialize the ai-cli library <<<
```
Expand Down

0 comments on commit 57f8f72

Please sign in to comment.