How to use the prompt function from osenv

Find comprehensive JavaScript osenv.prompt code examples handpicked from public code repositorys.

31
32
33
34
35
36
37
38
39
40

## osenv.user()

The currently logged-in user.  Calls `whoami` if not found.

## osenv.prompt()

Either PS1 on unix, or PROMPT on Windows.

## osenv.tmpdir()
fork icon19
star icon22
watch icon13