diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-18 19:52:54 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-18 19:52:54 -0200 |
commit | 4a7c7172e8725ce72df93924c4a4dcd87f75a569 (patch) | |
tree | 3807f1b23a998730d2318f5f914539e22a45488c /files | |
parent | 316cbdfd3dff6596dcfe4dfbf60c2f278d8d6be8 (diff) | |
download | puppet-nodo-4a7c7172e8725ce72df93924c4a4dcd87f75a569.tar.gz puppet-nodo-4a7c7172e8725ce72df93924c4a4dcd87f75a569.tar.bz2 |
Updating profile to squeeze
Diffstat (limited to 'files')
-rw-r--r-- | files/bin/prompt.sh | 2 | ||||
-rw-r--r-- | files/etc/bash.bashrc | 6 | ||||
-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='# ' |