OILS / demo / cannot-fork.sh View on Github | oilshell.org

15 lines, 2 significant
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
14PS1='$(echo hi)\$'
15prlimit --nproc=1 --pid=$$