Fix __fish_help_dir when running from build directory

When running fish from a CMake build directory ("build/fish"),
"__fish_help_dir" is wrong because we assume the tarball layout. Fix
that.
This commit is contained in:
Johannes Altmanninger
2025-11-20 07:08:23 +01:00
parent 0c67d0565a
commit 3b100fce2d
2 changed files with 7 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
# NOTE: When our executable is located outside the build directory, these are different.
# CHECKERR: config: paths.data: {{.*}}/share
# CHECKERR: config: paths.doc: {{.*}}/user_doc/html
# CHECKERR: config: paths.doc: {{.*/user_doc/html|\|not found\|}}
# CHECKERR: config: sourcing {{.+}}/etc/config.fish
# CHECKERR: config: not sourcing {{.*}}/xdg_config_home/fish/config.fish (not readable or does not exist)