From 4a7c7172e8725ce72df93924c4a4dcd87f75a569 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 18 Feb 2011 19:52:54 -0200 Subject: Updating profile to squeeze --- files/etc/bash.bashrc | 6 +++--- files/etc/profile | 26 -------------------------- files/etc/profile.lenny | 25 +++++++++++++++++++++++++ 3 files changed, 28 insertions(+), 29 deletions(-) delete mode 100644 files/etc/profile create mode 100644 files/etc/profile.lenny (limited to 'files/etc') 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 deleted file mode 100644 index d397ec7..0000000 --- a/files/etc/profile +++ /dev/null @@ -1,26 +0,0 @@ -# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) -# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). - -if [ "`id -u`" -eq 0 ]; then - PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -else - PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" -fi - -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='# ' - else - PS1='$ ' - fi - fi -fi - -export PATH - -umask 022 diff --git a/files/etc/profile.lenny b/files/etc/profile.lenny new file mode 100644 index 0000000..05b4e53 --- /dev/null +++ b/files/etc/profile.lenny @@ -0,0 +1,25 @@ +# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) +# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). + +if [ "`id -u`" -eq 0 ]; then + PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +else + PATH="/usr/local/bin:/usr/bin:/bin:/usr/games" +fi + +if [ "$PS1" ]; then + if [ "$BASH" ]; then + PS1='\u@\h:\w\$ ' + . /usr/local/bin/prompt.sh + else + if [ "`id -u`" -eq 0 ]; then + PS1='# ' + else + PS1='$ ' + fi + fi +fi + +export PATH + +umask 022 -- cgit v1.2.3