prompt (version 1.0.0)

prompt_devtools: Example prompt that shows the package being developed with devtools

Description

If git is installed and the current directory is part of a git tree, then also shows all information from prompt_git.

Usage

prompt_devtools(...)

devtools_packages()

Arguments

...

Ignored.

Value

prompt_devtools() returns the prompt string.

devtools_packages() returns the packages loaded by devtools/pkgload.

See Also

Other example prompts: new_prompt_powerline(), prompt_fancy(), prompt_git(), prompt_mem(), prompt_runtime(), prompt_status()

Examples

Run this code
# NOT RUN {
prompt_devtools()
# }

Run the code above in your browser using DataCamp Workspace