We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3f7fd commit 30331beCopy full SHA for 30331be
dissect/target/tools/shell.py
@@ -409,7 +409,7 @@ def __init__(self, target: Target):
409
if "{cwd}" in ps1 and "{base}" in ps1:
410
self.prompt_ps1 = ps1
411
else:
412
- self.target.log.warning("Error {cwd} and {base} was not set inside PS1, using the default prompt.")
+ self.target.log.warning("{cwd} and {base} were not set inside PS1, using the default prompt")
413
414
elif getattr(target._config, "NO_COLOR", None) or os.getenv("NO_COLOR"):
415
self.prompt_ps1 = "{base}:{cwd}$ "
0 commit comments