From 117f06911b075efd409117a06074d1d33018da10 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 9 Mar 2015 14:25:35 -0300 Subject: Make it sh-compatible --- prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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\]" -- cgit v1.2.3