From ac45a5cb95944478d4aad561b8199dae50195ded Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Tue, 26 Mar 2019 07:52:05 -0700 Subject: [PATCH] Minor cleanup --- fish_prompt.fish | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index 8beebd3..41559cd 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -966,15 +966,15 @@ end # ============================== function fish_prompt -d 'bobthefish, a fish theme optimized for awesome' - # Save the last status for later (do this before the `set` calls below) - set -l last_status $status - # Use a simple prompt on dumb terminals. - if test $TERM = "dumb" + if [ "$TERM" = "dumb" ] echo "> " return end + # Save the last status for later (do this before the `set` calls below) + set -l last_status $status + __bobthefish_glyphs __bobthefish_colors $theme_color_scheme