From 920be02fe9c9a4fd15783fe390444a3bda2115fb Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Tue, 13 Nov 2018 15:40:19 -0800 Subject: [PATCH] __update_cwd_osc: Use $hostname var instead of `hostname` command Changing directories should be a few ms faster. --- 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 e2164f00d..56ce69cfd 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -276,7 +276,7 @@ function __fish_config_interactive -d "Initializations that should be performed or set -q INSIDE_EMACS return end - printf \e\]7\;file://\%s\%s\a (hostname) (string escape --style=url $PWD) + printf \e\]7\;file://\%s\%s\a $hostname (string escape --style=url $PWD) end __update_cwd_osc # Run once because we might have already inherited a PWD from an old tab end