From 94e1488446f15244bfcef1a469298dafbbfd1f45 Mon Sep 17 00:00:00 2001 From: Kevin Laude Date: Sat, 11 Oct 2014 11:14:55 -0500 Subject: [PATCH] Quote variables for safety. --- modules/prompt/functions/prompt_cloud_setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/prompt/functions/prompt_cloud_setup b/modules/prompt/functions/prompt_cloud_setup index f519f945..0267c1e5 100644 --- a/modules/prompt/functions/prompt_cloud_setup +++ b/modules/prompt/functions/prompt_cloud_setup @@ -80,20 +80,20 @@ function prompt_cloud_setup { # Set the theme prefix to a cloud or to the user's given characters. if [[ -n "$1" ]]; then - prefix=$1 + prefix="$1" else prefix='☁' fi # Assign colors. if [[ -n "$2" ]]; then - primary_color=$2 + primary_color="$2" else primary_color='cyan' fi if [[ -n "$3" ]]; then - secondary_color=$3 + secondary_color="$3" else secondary_color='green' fi