mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
create_manpage_completions: use the first tool found
Noted in https://github.com/fish-shell/fish-shell/pull/6879#discussion_r421731269
This commit is contained in:
parent
6bd563ca32
commit
30a8345a11
|
@ -976,6 +976,7 @@ def get_paths_from_man_locations():
|
|||
if IS_PY3:
|
||||
output = output.decode("latin-1")
|
||||
parent_paths = output.strip().split(":")
|
||||
break
|
||||
except (OSError, subprocess.CalledProcessError):
|
||||
continue
|
||||
# If we can't have the OS interpret $MANPATH, just use it as-is (gulp).
|
||||
|
|
Loading…
Reference in New Issue
Block a user