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

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.