From e0769122dabaa32529a7362ace91b25717ebd077 Mon Sep 17 00:00:00 2001 From: oGre Date: Thu, 29 Oct 2015 20:03:02 +0100 Subject: [PATCH 1/2] Added shebang line --- prompt-colors.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/prompt-colors.sh b/prompt-colors.sh index 5176d368..02a71b02 100644 --- a/prompt-colors.sh +++ b/prompt-colors.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash # prompt-colors.sh # # source this file to get color definitions From 16d7bf93adba892d1e479b569c8f0fb3b1bc3e62 Mon Sep 17 00:00:00 2001 From: oGre Date: Thu, 29 Oct 2015 20:11:34 +0100 Subject: [PATCH 2/2] Removed old comments --- prompt-colors.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/prompt-colors.sh b/prompt-colors.sh index 02a71b02..1f700337 100644 --- a/prompt-colors.sh +++ b/prompt-colors.sh @@ -66,8 +66,6 @@ define_color_names() { eval "$def" } - #ResetColor="`_term_color 0`" # Text reset - _map_colors Bold $AttrBright _map_colors Bright $AttrBright _map_colors Dim $AttrDim @@ -82,6 +80,3 @@ define_color_names() { if [[ ${#ColorNames[*]} = 0 || -z "$IntenseBlack" || -z "$ResetColor" ]]; then define_color_names fi - -# end of prompt-colors.sh -# vim: set ai sw=2