summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-03-29 10:58:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-03-30 14:15:03 +0200
commit6eb741a2e1e8a956097ea59dfe573727ff11160f (patch)
tree4585d27599252b15b0be166906f4399b75f765c4 /common/Kconfig
parent66e4e9242b23645c56155af0ff8ada659966ddde (diff)
downloadbarebox-6eb741a2e1e8a956097ea59dfe573727ff11160f.tar.gz
barebox-6eb741a2e1e8a956097ea59dfe573727ff11160f.tar.xz
hush: allow fancy prompts
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 4c4a627a36..f5147597f4 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -226,6 +226,15 @@ config PROMPT_HUSH_PS2
prompt "hush PS2"
default "> "
+config HUSH_FANCY_PROMPT
+ bool
+ depends on SHELL_HUSH
+ select PROCESS_ESCAPE_SEQUENCE
+ prompt "allow fancy hush prompts"
+ help
+ Allow to set PS1 from the command line. PS1 can have several escaped commands
+ like \h for CONFIG_BOARDINFO or \w for the current working directory.
+
config CMDLINE_EDITING
bool
prompt "Enable command line editing"