fi
# set a fancy prompt (non-color, overwrite the one in /etc/profile)
-#PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
-
-# set a fancy prompt
-. /etc/profile.d/prompt.sh
+PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
# Commented out, don't overwrite xterm -T "title" -n "icontitle" by default.
# If this is an xterm set the title to user@host:dir
#esac
# enable bash completion in interactive shells
-if ! shopt -oq posix; then
- if [ -f /usr/share/bash-completion/bash_completion ]; then
- . /usr/share/bash-completion/bash_completion
- elif [ -f /etc/bash_completion ]; then
- . /etc/bash_completion
- fi
-fi
+#if ! shopt -oq posix; then
+# if [ -f /usr/share/bash-completion/bash_completion ]; then
+# . /usr/share/bash-completion/bash_completion
+# elif [ -f /etc/bash_completion ]; then
+# . /etc/bash_completion
+# fi
+#fi
# if the command-not-found package is installed, use it
if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-not-found ]; then
ensure => present,
}
- # Ideally we should not manage this file, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675008
- #file { "/etc/bash.bashrc":
- # source => "puppet:///modules/shellprompt/bash.bashrc",
- # owner => "root",
- # group => "root",
- # mode => 0644,
- # ensure => present,
- # require => File['/etc/profile.d/prompt.sh'],
- #}
+ # TODO: remove this block in the future, as we're applying back jessie's version
+ file { "/etc/bash.bashrc":
+ source => "puppet:///modules/shellprompt/bash.bashrc",
+ owner => "root",
+ group => "root",
+ mode => 0644,
+ ensure => present,
+ require => File['/etc/profile.d/prompt'],
+ }
}