README.md

prompt

Dynamic Prompt.

Usage

This use glue to expand the function passed in, with the follwing bindings available:

set_prompt( ~ "{t}> " )
set_prompt( ~ "{w}> " )
set_prompt( ~ "[{m}] {t} {w}> ")

You can use expand_prompt to experiment :

expand_prompt( ~ "{t}> " )
## 11:39:42>
expand_prompt( ~ "{w}> " )
## /Users/romain/git/prompt>
expand_prompt( ~ "[{m}] {t} {w}> ")
## [36 MB] 11:39:42 /Users/romain/git/prompt>

Installation

install_github( "ThinkR-open/prompt" )

Initial ideas

in a way that can be configured. Things we might want to display:

License

MIT + file LICENSE ©



ThinkR-open/prompt documentation built on May 6, 2019, 3:28 p.m.