PatrickF1 / colored_man_pages.fish

Fish shell plugin to colorize man pages
MIT License
94 stars 7 forks source link

Correctly handle empty `MANPATH` #5

Closed kidonng closed 3 years ago

kidonng commented 3 years ago

Fix #4

Handle empty MANPATH like Fish does. It seems man expects something like MANPATH=/usr/local/Cellar/fish/3.2.2_1/share/fish/man: (notice the extra :) to fallback to other man pages. That equals to an extra empty string in fish.

I also took the chance to backport another change in fish.

PatrickF1 commented 3 years ago

Thank you for the quick fix!