From 325f0478038a2a79e055ebc84bddf889c34b432a Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 24 Jul 2016 16:39:41 -0700 Subject: [PATCH] Revert "Update __fish_config_interactive.fish" This reverts commit ec292ec51b5e1a06db4ed566160353c4c0ce6449. --- share/functions/__fish_config_interactive.fish | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index e26e6bc55..ec170b457 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -110,16 +110,14 @@ function __fish_config_interactive -d "Initializations that should be performed # Print a greeting. # fish_greeting can be a function (preferred) or a variable. # - if status --is-interactive - if status --is-login - if functions -q fish_greeting - fish_greeting - else - # The greeting used to be skipped when fish_greeting was empty (not just undefined) - # Keep it that way to not print superfluous newlines on old configuration - test -n "$fish_greeting" - and echo $fish_greeting - end + if status --is-interactivel + and status --is-login + if functions -q fish_greeting + fish_greeting + else + # The greeting used to be skipped when fish_greeting was empty (not just undefined) + # Keep it that way to not print superfluous newlines on old configuration + test -n "$fish_greeting" echo $fish_greeting end end