| Commit message (Collapse) | Author | Age |
|
|
|
| |
create_manpage_completions.py
|
| |
|
| |
|
|
|
|
|
|
|
| |
Currently if there is a conflict with two manpages having the same
name, one completion will override the other. But if one can be parsed
and the other can't the one with parsed results will always have a
higher priority.
|
|
|
|
|
|
|
| |
It seems smart to only let files be parsed that are clearly
manpage files. Other files wouldn't be openend by man so
I think it is safe to guess that only these files are man
pages.
|
|
|
|
|
| |
On my system (OS-X 10.11) references to builtin are denoted by:
".so man1/builtin.1". So you also need to check against that.
|
|
|
|
|
| |
According to the newer code below:
xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share')
the actual default path is ~/.local/share/fish/generated_completions/
|
|
|
|
| |
Closes #1343, works towards #1257.
|
|
|
|
|
|
| |
Prefer the standard library lzma module if available. This change prevents
using the backports-lzma when it is installed for a version of Python that
already has the lzma module in its standard library.
|
|\
| |
| | |
Support bzip2 and lzma/xz compressed man pages
|
| |
| |
| |
| |
| | |
This avoids the use of the global and puts the diagnostic message in a
self-contained location.
|
| |
| |
| |
| |
| | |
Only print an error when an lzma/xz compressed man page occurs. Also, use
add_diagnostic instead of print.
|
| |
| |
| |
| |
| | |
While in this case it doesn't mean much (neither `z` or `-` would be
passed to options parser), it makes things possibly less buggy.
|
| |
| |
| |
| |
| | |
Skip man pages compressed with lzma/xz if the lzma module is not available; also
print a corresponding diagnostic message.
|
| | |
|
| |
| |
| |
| | |
I overlooked an "if" that should have been an "elif". Oops.
|
|/
|
|
|
|
|
| |
Add support for bzip2 and lzma/xz compressed man pages. Support for bzip2 is
part of the Python standard library (at least for 2.7 and >=3.2), while lzma/xz
is only in Python >=3.3; however, there is a backports module for Python 2.7 and
3.2.
|
|
|
|
|
| |
Amended from https://github.com/fish-shell/fish-shell/pull/1003.
Fix a Unicode parsing error; search man6.
|
| |
|
|
|
|
| |
create_manpage_completions script
|
|
|
|
| |
Closes #727
|
| |
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/658
|
|
|
|
| |
Fixes https://github.com/fish-shell/fish-shell/issues/658 ?
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/576
|
| |
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/506
|
|
|
|
| |
sysgetdefaultencoding() returns ASCII.
|
|
|
|
| |
Fixes https://github.com/fish-shell/fish-shell/issues/98
|
| |
|
|
|
|
| |
Fixes https://github.com/fish-shell/fish-shell/issues/10
|
|
|
|
| |
Not sure why the escape character was being printed in the manpage completions script
|
|
|
|
|
|
|
| |
data directory
Fixes https://github.com/fish-shell/fish-shell/issues/148
Also fix some Python3 issues
|
|
|
|
| |
more progress) and to put the cursor at the beginning (so it doesn't jump around)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Added some pretty progress reporting to that script
Added some comments to deroff.py
|
|
|
|
| |
default, and also discover man pages from reading the manpath
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Added fish_config function to launch web config
|