mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Updated doc dir path in fish.cpp
This commit is contained in:
parent
4912967eab
commit
d6a0859eab
1 changed files with 2 additions and 2 deletions
4
fish.cpp
4
fish.cpp
|
@ -165,7 +165,7 @@ static struct config_paths_t determine_config_directory_paths(const char *argv0)
|
||||||
/* Append share, etc, doc */
|
/* Append share, etc, doc */
|
||||||
paths.data = wide_resolved_path + L"share/fish";
|
paths.data = wide_resolved_path + L"share/fish";
|
||||||
paths.sysconf = wide_resolved_path + L"etc/fish";
|
paths.sysconf = wide_resolved_path + L"etc/fish";
|
||||||
paths.doc = wide_resolved_path + L"doc";
|
paths.doc = wide_resolved_path + L"doc/fish";
|
||||||
|
|
||||||
/* But the bin_dir is the resolved_path, minus fish (aka the MacOS directory) */
|
/* But the bin_dir is the resolved_path, minus fish (aka the MacOS directory) */
|
||||||
paths.bin = str2wcstring(exec_path);
|
paths.bin = str2wcstring(exec_path);
|
||||||
|
@ -193,7 +193,7 @@ static struct config_paths_t determine_config_directory_paths(const char *argv0)
|
||||||
|
|
||||||
paths.data = base_path + L"/share/fish";
|
paths.data = base_path + L"/share/fish";
|
||||||
paths.sysconf = base_path + L"/etc/fish";
|
paths.sysconf = base_path + L"/etc/fish";
|
||||||
paths.doc = base_path + L"/share/doc";
|
paths.doc = base_path + L"/share/doc/fish";
|
||||||
paths.bin = base_path + L"/bin";
|
paths.bin = base_path + L"/bin";
|
||||||
|
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
|
Loading…
Reference in a new issue