aboutsummaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-03-09 14:25:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-03-09 14:25:35 -0300
commit117f06911b075efd409117a06074d1d33018da10 (patch)
tree8b7ae91dcfdf45e5a75ff014794c363bee7faa54 /prompt
parentd32e1f10d9670e325f4e4e767b7f8772217d0bc8 (diff)
downloadshellprompt-117f06911b075efd409117a06074d1d33018da10.tar.gz
shellprompt-117f06911b075efd409117a06074d1d33018da10.tar.bz2
Make it sh-compatible
Diffstat (limited to 'prompt')
-rwxr-xr-xprompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt b/prompt
index 7669eb7..ddfc5a2 100755
--- a/prompt
+++ b/prompt
@@ -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\]"