mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-14 22:11:16 -03:00
This mode still has some problems (see the next commit) but having it behind a feature flag doesn't serve us. Let's commit to the parts we want to keep and drop anything that we don't want. To reduce diff noise, use "if false" in the code paths used by man pages; a following commit will use them.
21 lines
555 B
Fish
21 lines
555 B
Fish
# RUN: %fish %s
|
|
|
|
# Override the test-override again.
|
|
__fish_data_with_file functions/__fish_print_help.fish source
|
|
|
|
# REQUIRES: command -v sphinx-build
|
|
# REQUIRES: command -v man
|
|
# REQUIRES: test "$FISH_BUILD_DOCS" != "0"
|
|
|
|
set -l deroff col -b -p -x
|
|
|
|
set -lx MANWIDTH 80
|
|
man abbr | $deroff | head -n4
|
|
# CHECK: ABBR(1) {{ *}} fish-shell {{ *}} ABBR(1)
|
|
# CHECK: NAME
|
|
# CHECK: abbr - manage fish abbreviations
|
|
man : | $deroff | head -n4
|
|
# CHECK: TRUE(1) {{ *}} fish-shell {{ *}} TRUE(1)
|
|
# CHECK: NAME
|
|
# CHECK: true - return a successful result
|