aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-15 18:34:18 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-15 18:34:18 -0200
commit290469a28c7504341a89afc60e4d0078e50e78b0 (patch)
treedb68a0b52976f6bcdaafc5bb80695938de979429 /files/etc
parente88378ecb98bc3932aa8484837fefa04e5b9323b (diff)
downloadpuppet-nodo-290469a28c7504341a89afc60e4d0078e50e78b0.tar.gz
puppet-nodo-290469a28c7504341a89afc60e4d0078e50e78b0.tar.bz2
Prompt fixes
Diffstat (limited to 'files/etc')
-rw-r--r--files/etc/bash.bashrc3
-rw-r--r--files/etc/profile3
2 files changed, 4 insertions, 2 deletions
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index 0d66a14..ed7362a 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -46,4 +46,5 @@ if [ -x /usr/lib/command-not-found ]; then
}
fi
-PROMPT_COMMAND="/usr/local/bin/prompt.sh"
+. /usr/local/bin/prompt.sh
+PROMPT_COMMAND="command_prompt"
diff --git a/files/etc/profile b/files/etc/profile
index 3828b33..d397ec7 100644
--- a/files/etc/profile
+++ b/files/etc/profile
@@ -10,7 +10,8 @@ fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
- PROMPT_COMMAND="/usr/local/bin/prompt.sh"
+ . /usr/local/bin/prompt.sh
+ PROMPT_COMMAND="command_prompt"
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '