aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/bin/prompt.sh2
-rw-r--r--files/etc/bash.bashrc6
-rw-r--r--files/etc/profile.lenny (renamed from files/etc/profile)1
3 files changed, 5 insertions, 4 deletions
diff --git a/files/bin/prompt.sh b/files/bin/prompt.sh
index 71ab73c..85d7bff 100644
--- a/files/bin/prompt.sh
+++ b/files/bin/prompt.sh
@@ -33,3 +33,5 @@ function command_prompt() {
PS1="(${status_color}${exit_status}${COLOR_NONE}) [${COLOR_RED}\D{%Y%m%d %H:%M:%S}${COLOR_NONE}] ${COLOR_GREEN}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w${COLOR_NONE} \\$ "
PS2="${BOLD}>${OFF} "
}
+
+PROMPT_COMMAND="command_prompt"
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index ed7362a..89b5a57 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -29,9 +29,9 @@ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
#esac
# enable bash completion in interactive shells
-#if [ -f /etc/bash_completion ]; then
-# . /etc/bash_completion
-#fi
+if [ -f /etc/bash_completion ]; then
+ . /etc/bash_completion
+fi
# if the command-not-found package is installed, use it
if [ -x /usr/lib/command-not-found ]; then
diff --git a/files/etc/profile b/files/etc/profile.lenny
index d397ec7..05b4e53 100644
--- a/files/etc/profile
+++ b/files/etc/profile.lenny
@@ -11,7 +11,6 @@ if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
. /usr/local/bin/prompt.sh
- PROMPT_COMMAND="command_prompt"
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '