From ebf19c22fd4a58a057df89ba56d0039f10b599ef Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sat, 24 Feb 2024 15:07:13 +0100 Subject: [PATCH] fish_config: Find fish via fish-path --- share/functions/fish_config.fish | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/functions/fish_config.fish b/share/functions/fish_config.fish index 15919f205..278b43784 100644 --- a/share/functions/fish_config.fish +++ b/share/functions/fish_config.fish @@ -17,6 +17,8 @@ function fish_config --description "Launch fish's web based configuration" # 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) $python "$__fish_data_dir/tools/web_config/webconfig.py" $argv