aboutsummaryrefslogtreecommitdiff
path: root/files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc')
-rw-r--r--files/etc/bash.bashrc14
-rw-r--r--files/etc/profile.d/prompt.sh2
2 files changed, 8 insertions, 8 deletions
diff --git a/files/etc/bash.bashrc b/files/etc/bash.bashrc
index 8faf820..27686d6 100644
--- a/files/etc/bash.bashrc
+++ b/files/etc/bash.bashrc
@@ -32,13 +32,13 @@ fi
#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
diff --git a/files/etc/profile.d/prompt.sh b/files/etc/profile.d/prompt.sh
index 8247b1a..9e97ba2 100644
--- a/files/etc/profile.d/prompt.sh
+++ b/files/etc/profile.d/prompt.sh
@@ -4,7 +4,7 @@
# See http://www.debian-administration.org/article/Fancy_Bash_Prompts
#
-function command_prompt() {
+command_prompt() {
exit_status="$?"
# colors
COLOR_RED="\[\033[31m\]"