From: Silvio Rhatto Date: Mon, 9 Mar 2015 17:25:35 +0000 (-0300) Subject: Make it sh-compatible X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=117f06911b075efd409117a06074d1d33018da10;p=shellprompt.git Make it sh-compatible --- 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\]"