summaryrefslogtreecommitdiffstats
path: root/defaultenv/defaultenv-2-base/init/ps1
diff options
context:
space:
mode:
Diffstat (limited to 'defaultenv/defaultenv-2-base/init/ps1')
-rw-r--r--defaultenv/defaultenv-2-base/init/ps17
1 files changed, 7 insertions, 0 deletions
diff --git a/defaultenv/defaultenv-2-base/init/ps1 b/defaultenv/defaultenv-2-base/init/ps1
new file mode 100644
index 0000000..02d7b4b
--- /dev/null
+++ b/defaultenv/defaultenv-2-base/init/ps1
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ ${global.allow_color} = "true" ]; then
+ export PS1="\e[1;32mbarebox@\e[1;36m\h:\w\e[0m "
+else
+ export PS1="barebox@\h:\w "
+fi