From ac8ef4da9e70cad814e8bd3ce9652c54fc897913 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 15 Oct 2025 09:50:16 +0200 Subject: [PATCH] fish_config: don't redo __fish_bin_dir computation __fish_bin_dir is already computed exactly like this. --- share/functions/fish_config.fish | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/functions/fish_config.fish b/share/functions/fish_config.fish index b1356dfd6..4a9f4c931 100644 --- a/share/functions/fish_config.fish +++ b/share/functions/fish_config.fish @@ -16,11 +16,9 @@ function fish_config --description "Launch fish's web based configuration" # The web-based configuration UI # Also opened with just `fish_config` or `fish_config browse`. if contains -- $cmd browse - set -lx __fish_bin_dir $__fish_bin_dir - set -l fish_path (status fish-path) - and set __fish_bin_dir (path dirname -- $fish_path) if set -l python (__fish_anypython) function __fish_config_webconfig -V python -a web_config + set -lx __fish_bin_dir $__fish_bin_dir $python $web_config/webconfig.py end __fish_data_with_directory tools/web_config '.*' __fish_config_webconfig