| 1 | #!/usr/bin/env bash | 
| 2 | # | 
| 3 | # Manual repro for prompt bug: | 
| 4 | # | 
| 5 | # bin/osh | 
| 6 | # osh$ . demo/cannot-fork.sh | 
| 7 | # | 
| 8 | # For completion bug: | 
| 9 | # | 
| 10 | # osh$ . testdata/completion/osh-unit.sh | 
| 11 | # osh$ . demo/cannot-fork.sh | 
| 12 | # osh$ optdemo <TAB> | 
| 13 | |
| 14 | PS1='$(echo hi)\$' | 
| 15 | prlimit --nproc=1 --pid=$$ |