init_wd: Initializes all 3 options that control prompt behavior.

Description Usage Arguments

Description

If you want to try different options after start_wd is called, call this again function with your parameter values.

Usage

1
init_wd(enabled = TRUE, fullPath = TRUE, promptLen = 15)

Arguments

enabled

TRUE to keep wdprompt active. FALSE to stop it and revert back to the static prompt when start_wd was called.

fullPath

TRUE to display the full path returned by base::getwd(). FALSE to truncate to the last promptLen characters of the path.

promptLen

A number specifying the length of the prompt string. Only used if wdprompt.fullPath is FALSE.


dgabbe/wdprompt documentation built on May 15, 2019, 7:20 a.m.