Forum Discussion
5 years ago
Prompt:
HOSTNAME/USERname#
Breakdown of /${host}\/${user}\#\s/:
/ <-Start
${host} <- host defined earlier
\/ <- matches /
${user} <- user defined earlier
\# <- matches #
\s <- space
/ <-End
----------------------
host = hostProps.get("system.hostname");
user = hostProps.get("config.user");
pass = hostProps.get("config.pass");
display = hostProps.get("system.displayname");
//prompt = /.+\#\s/
prompt = /${display}\/${user}\#\s/
Let me try this.
Related Content
- 2 years ago
- 3 months ago
- 2 years ago