mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 07:42:12 +08:00
Add path flog category
This commit is contained in:
parent
f632a9e998
commit
26fa774f44
@ -98,6 +98,7 @@ class category_list_t {
|
|||||||
|
|
||||||
category_t reader{L"reader", L"The interactive reader/input system"};
|
category_t reader{L"reader", L"The interactive reader/input system"};
|
||||||
category_t complete{L"complete", L"The completion system"};
|
category_t complete{L"complete", L"The completion system"};
|
||||||
|
category_t path{L"path", L"Searching/using paths"};
|
||||||
};
|
};
|
||||||
|
|
||||||
/// The class responsible for logging.
|
/// The class responsible for logging.
|
||||||
|
@ -122,7 +122,7 @@ bool path_get_path(const wcstring &cmd, wcstring *out_path, const environment_t
|
|||||||
}
|
}
|
||||||
|
|
||||||
wcstring_list_t path_get_paths(const wcstring &cmd, const environment_t &vars) {
|
wcstring_list_t path_get_paths(const wcstring &cmd, const environment_t &vars) {
|
||||||
debug(3, L"path_get_paths('%ls')", cmd.c_str());
|
FLOGF(path, L"path_get_paths('%ls')", cmd.c_str());
|
||||||
wcstring_list_t paths;
|
wcstring_list_t paths;
|
||||||
|
|
||||||
// If the command has a slash, it must be an absolute or relative path and thus we don't bother
|
// If the command has a slash, it must be an absolute or relative path and thus we don't bother
|
||||||
|
Loading…
x
Reference in New Issue
Block a user