From cc205a134b7eb9858503cbffd8f110c67a83e2f3 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 6 May 2019 17:06:40 +0200 Subject: [PATCH] Disable fish_title in emacs --- share/functions/fish_title.fish | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/share/functions/fish_title.fish b/share/functions/fish_title.fish index 87abe894b..675269605 100644 --- a/share/functions/fish_title.fish +++ b/share/functions/fish_title.fish @@ -1,3 +1,6 @@ function fish_title - echo (status current-command) (__fish_pwd) + # emacs is basically the only term that can't handle it. + if not set -q INSIDE_EMACS + echo (status current-command) (__fish_pwd) + end end