Let's add an option to modify the prompt to look like:
shelljs v0.6.0 $
Also, we can have an option to do a custom prompt (like Bash's PS1 variable). One of the options could be version number. So it would mean that the default prompt looks something like --prompt='shelljs $ ' and the version-number prompt like --prompt='shelljs %v $ '
Let's add an option to modify the prompt to look like:
Also, we can have an option to do a custom prompt (like Bash's
PS1
variable). One of the options could be version number. So it would mean that the default prompt looks something like--prompt='shelljs $ '
and the version-number prompt like--prompt='shelljs %v $ '