From fd1908e973413e3cdb86c12ea8386422a78a3273 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Fri, 1 Feb 2019 14:42:13 -0800 Subject: [PATCH] Switch TMUX check to FISH_UNIT_TESTS_RUNNING Per discussion in https://github.com/fish-shell/fish-shell/commit/0c17210f056 --- share/functions/__fish_config_interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index d59491b16..42cead73f 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -239,7 +239,7 @@ function __fish_config_interactive -d "Initializations that should be performed # - The keybindings (reading the sequence and triggering an event) # - Any listeners (like the vi-cursor) if set -q TMUX - and [ "$TERM" = screen ] + and not set -q FISH_UNIT_TESTS_RUNNING function __fish_enable_focus --on-event fish_postexec echo -n \e\[\?1004h end