bionic-reader 0.1.0__py3-none-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bionic_reader-0.1.0.data/data/share/bionic-reader/completions/_bionic-reader +595 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/completions/bionic-reader.bash +1052 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/completions/bionic-reader.fish +372 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/config.example.toml +19 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/README.md +37 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/bash-it/bionic-reader/bionic-reader.plugin.bash +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/fisher/bionic-reader/conf.d/bionic-reader.fish +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/frameworks.tsv +7 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/oh-my-bash/bionic-reader/bionic-reader.plugin.sh +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/oh-my-fish/bionic-reader/init.fish +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/oh-my-zsh/bionic-reader/bionic-reader.plugin.zsh +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/prezto/bionic-reader/init.zsh +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/zinit/bionic-reader/init.zsh +4 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/bash.sh +85 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/fish.fish +27 -0
- bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/zsh.sh +33 -0
- bionic_reader-0.1.0.data/scripts/bionic-reader +0 -0
- bionic_reader-0.1.0.dist-info/METADATA +158 -0
- bionic_reader-0.1.0.dist-info/RECORD +21 -0
- bionic_reader-0.1.0.dist-info/WHEEL +4 -0
- bionic_reader-0.1.0.dist-info/sboms/bionic-reader.cyclonedx.json +3045 -0
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
|
|
2
|
+
function __fish_bionic_reader_global_optspecs
|
|
3
|
+
string join \n t/text= fraction= every= min-word-length= style= config= exclude= profile= length-rule= emphasis= input-format= format= controls= skip-code= low-latency= h/help V/version
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
function __fish_bionic_reader_needs_command
|
|
7
|
+
# Figure out if the current invocation already has a command.
|
|
8
|
+
set -l cmd (commandline -opc)
|
|
9
|
+
set -e cmd[1]
|
|
10
|
+
argparse -s (__fish_bionic_reader_global_optspecs) -- $cmd 2>/dev/null
|
|
11
|
+
or return
|
|
12
|
+
if set -q argv[1]
|
|
13
|
+
# Also print the command, so this can be used to figure out what it is.
|
|
14
|
+
echo $argv[1]
|
|
15
|
+
return 1
|
|
16
|
+
end
|
|
17
|
+
return 0
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
function __fish_bionic_reader_using_subcommand
|
|
21
|
+
set -l cmd (__fish_bionic_reader_needs_command)
|
|
22
|
+
test -z "$cmd"
|
|
23
|
+
and return 1
|
|
24
|
+
contains -- $cmd[1] $argv
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -s t -l text -d 'Transform this text instead of reading stdin' -r
|
|
28
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
29
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
30
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
31
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
32
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
33
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
34
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
35
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
36
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
37
|
+
balanced\t'Emphasize half of each eligible word'
|
|
38
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
39
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
40
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
41
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
42
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
43
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
44
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
45
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
46
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
47
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
48
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
49
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
50
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
51
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
52
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
53
|
+
false\t''"
|
|
54
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
55
|
+
false\t''"
|
|
56
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
57
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -s V -l version -d 'Print version'
|
|
58
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "read" -d 'Read a document with scrolling, search, and adjustable fixation settings'
|
|
59
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "preview" -d 'Preview fixation settings on a sample passage or supplied text'
|
|
60
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "session" -d 'Start an interactive reading session'
|
|
61
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "init" -d 'Print an opt-in initialization snippet for your shell configuration'
|
|
62
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "completions" -d 'Print completion definitions for your shell'
|
|
63
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "on" -d 'Enable emphasis in the current reading session'
|
|
64
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "off" -d 'Disable emphasis in the current reading session'
|
|
65
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "toggle" -d 'Toggle emphasis in the current reading session'
|
|
66
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "reload" -d 'Reload settings at the next shell command boundary'
|
|
67
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "bypass" -d 'Run a command without emphasis, restoring the prior state afterward'
|
|
68
|
+
complete -c bionic-reader -n "__fish_bionic_reader_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
|
69
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
70
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
71
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
72
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
73
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
74
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
75
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
76
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
77
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
78
|
+
balanced\t'Emphasize half of each eligible word'
|
|
79
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
80
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
81
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
82
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
83
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
84
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
85
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
86
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
87
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
88
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
89
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
90
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
91
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
92
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
93
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
94
|
+
false\t''"
|
|
95
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
96
|
+
false\t''"
|
|
97
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand read" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
98
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l text -d 'Passage for the interactive preview' -r
|
|
99
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
100
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
101
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
102
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
103
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
104
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
105
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
106
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
107
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
108
|
+
balanced\t'Emphasize half of each eligible word'
|
|
109
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
110
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
111
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
112
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
113
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
114
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
115
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
116
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
117
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
118
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
119
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
120
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
121
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
122
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
123
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
124
|
+
false\t''"
|
|
125
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
126
|
+
false\t''"
|
|
127
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -l print -d 'Print the preview instead of opening the interactive reader'
|
|
128
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand preview" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
129
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l shell -d 'Bash, Zsh, or fish executable (defaults to SHELL)' -r
|
|
130
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
131
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
132
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
133
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
134
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
135
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
136
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
137
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
138
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
139
|
+
balanced\t'Emphasize half of each eligible word'
|
|
140
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
141
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
142
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
143
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
144
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
145
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
146
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
147
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
148
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
149
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
150
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
151
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
152
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
153
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
154
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
155
|
+
false\t''"
|
|
156
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
157
|
+
false\t''"
|
|
158
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand session" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
159
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
160
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
161
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
162
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
163
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
164
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
165
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
166
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
167
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
168
|
+
balanced\t'Emphasize half of each eligible word'
|
|
169
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
170
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
171
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
172
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
173
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
174
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
175
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
176
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
177
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
178
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
179
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
180
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
181
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
182
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
183
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
184
|
+
false\t''"
|
|
185
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
186
|
+
false\t''"
|
|
187
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand init" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
188
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
189
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
190
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
191
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
192
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
193
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
194
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
195
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
196
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
197
|
+
balanced\t'Emphasize half of each eligible word'
|
|
198
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
199
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
200
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
201
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
202
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
203
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
204
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
205
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
206
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
207
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
208
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
209
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
210
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
211
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
212
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
213
|
+
false\t''"
|
|
214
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
215
|
+
false\t''"
|
|
216
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
217
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
218
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
219
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
220
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
221
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
222
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
223
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
224
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
225
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
226
|
+
balanced\t'Emphasize half of each eligible word'
|
|
227
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
228
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
229
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
230
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
231
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
232
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
233
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
234
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
235
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
236
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
237
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
238
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
239
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
240
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
241
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
242
|
+
false\t''"
|
|
243
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
244
|
+
false\t''"
|
|
245
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand on" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
246
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
247
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
248
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
249
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
250
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
251
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
252
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
253
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
254
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
255
|
+
balanced\t'Emphasize half of each eligible word'
|
|
256
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
257
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
258
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
259
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
260
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
261
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
262
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
263
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
264
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
265
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
266
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
267
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
268
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
269
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
270
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
271
|
+
false\t''"
|
|
272
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
273
|
+
false\t''"
|
|
274
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand off" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
275
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
276
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
277
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
278
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
279
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
280
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
281
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
282
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
283
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
284
|
+
balanced\t'Emphasize half of each eligible word'
|
|
285
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
286
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
287
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
288
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
289
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
290
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
291
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
292
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
293
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
294
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
295
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
296
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
297
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
298
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
299
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
300
|
+
false\t''"
|
|
301
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
302
|
+
false\t''"
|
|
303
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand toggle" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
304
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
305
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
306
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
307
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
308
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
309
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
310
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
311
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
312
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
313
|
+
balanced\t'Emphasize half of each eligible word'
|
|
314
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
315
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
316
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
317
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
318
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
319
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
320
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
321
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
322
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
323
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
324
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
325
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
326
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
327
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
328
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
329
|
+
false\t''"
|
|
330
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
331
|
+
false\t''"
|
|
332
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand reload" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
333
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l fraction -d 'Fraction of each selected word to emphasize (0 through 1)' -r
|
|
334
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l every -d 'Emphasize the first eligible word and then every Nth word' -r
|
|
335
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l min-word-length -d 'Minimum number of letters a word must have to receive emphasis' -r
|
|
336
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l style -d 'When to apply emphasis: automatically for terminals, always, or never' -r -f -a "auto\t'Enable emphasis when output is a terminal'
|
|
337
|
+
always\t'Enable emphasis regardless of the output destination'
|
|
338
|
+
never\t'Disable added emphasis; configured format and input-control processing still apply'"
|
|
339
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l config -d 'Read an explicit TOML configuration file' -r -F
|
|
340
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l exclude -d 'Add a command name to the interactive passthrough exclusions' -r
|
|
341
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l profile -d 'Named fixation preference; explicit numeric flags override its values' -r -f -a "subtle\t'Emphasize fewer, longer words with a shorter prefix'
|
|
342
|
+
balanced\t'Emphasize half of each eligible word'
|
|
343
|
+
strong\t'Emphasize a longer prefix of every eligible word'"
|
|
344
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l length-rule -d 'Per-length fraction in MAX:FRACTION form; repeat in increasing MAX order' -r
|
|
345
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l emphasis -d 'Emphasis attribute: bold, underline, or reverse video' -r -f -a "bold\t'Use bold intensity, restoring the original bold and faint attributes'
|
|
346
|
+
underline\t'Use underlining without changing text colors or intensity'
|
|
347
|
+
reverse\t'Use reverse video without selecting a brighter foreground color'"
|
|
348
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l input-format -d 'Interpret ordinary text, Markdown source, or trusted terminal output' -r -f -a "text\t'Ordinary text with the configured terminal-control policy'
|
|
349
|
+
markdown\t'`CommonMark` source with protected syntax and code spans'
|
|
350
|
+
terminal\t'Trusted terminal output whose existing controls must be preserved'"
|
|
351
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l format -d 'Emit ANSI, unstyled plain text, Markdown emphasis, or escaped HTML' -r -f -a "ansi\t'Terminal emphasis, subject to the style policy'
|
|
352
|
+
plain\t'Original text without terminal escape sequences or added emphasis'
|
|
353
|
+
markdown\t'Markdown source with emphasis syntax around selected prefixes'
|
|
354
|
+
html\t'Escaped HTML with semantic emphasis elements'"
|
|
355
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l controls -d 'Remove active document controls, or preserve trusted terminal controls' -r -f -a "safe\t'Permit presentation styling and safe hyperlinks; remove active controls'
|
|
356
|
+
preserve\t'Preserve terminal control bytes for trusted sources'"
|
|
357
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l skip-code -d 'Protect Markdown code from emphasis (default true); use --skip-code=false to include it' -r -f -a "true\t''
|
|
358
|
+
false\t''"
|
|
359
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -l low-latency -d 'Flush stalled partial words unchanged after 50 ms; disables content-only determinism' -r -f -a "true\t''
|
|
360
|
+
false\t''"
|
|
361
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand bypass" -s h -l help -d 'Print help (see more with \'--help\')'
|
|
362
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "read" -d 'Read a document with scrolling, search, and adjustable fixation settings'
|
|
363
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "preview" -d 'Preview fixation settings on a sample passage or supplied text'
|
|
364
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "session" -d 'Start an interactive reading session'
|
|
365
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "init" -d 'Print an opt-in initialization snippet for your shell configuration'
|
|
366
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "completions" -d 'Print completion definitions for your shell'
|
|
367
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "on" -d 'Enable emphasis in the current reading session'
|
|
368
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "off" -d 'Disable emphasis in the current reading session'
|
|
369
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "toggle" -d 'Toggle emphasis in the current reading session'
|
|
370
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "reload" -d 'Reload settings at the next shell command boundary'
|
|
371
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "bypass" -d 'Run a command without emphasis, restoring the prior state afterward'
|
|
372
|
+
complete -c bionic-reader -n "__fish_bionic_reader_using_subcommand help; and not __fish_seen_subcommand_from read preview session init completions on off toggle reload bypass help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Bionic Reader reads this file from $XDG_CONFIG_HOME/bionic-reader/config.toml
|
|
2
|
+
# or ~/.config/bionic-reader/config.toml.
|
|
3
|
+
fraction = 0.5
|
|
4
|
+
every = 1
|
|
5
|
+
min_word_length = 2
|
|
6
|
+
style = "auto"
|
|
7
|
+
|
|
8
|
+
# These names are appended to the built-in safety exclusions.
|
|
9
|
+
exclude_commands = ["my-pager"]
|
|
10
|
+
|
|
11
|
+
# Optional document/reader preferences:
|
|
12
|
+
# profile = "balanced" # subtle, balanced, strong; explicit values above take precedence
|
|
13
|
+
# emphasis = "bold" # bold, underline, reverse
|
|
14
|
+
# input_format = "text" # text, markdown, terminal (trusted controls)
|
|
15
|
+
# format = "ansi" # ansi, plain, markdown, html
|
|
16
|
+
# controls = "safe" # safe, preserve
|
|
17
|
+
# skip_code = true
|
|
18
|
+
# low_latency = false
|
|
19
|
+
# length_rules = [{ max_length = 4, fraction = 0.25 }, { max_length = 8, fraction = 0.5 }]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Framework adapters
|
|
2
|
+
|
|
3
|
+
Each adapter activates the same shell initializer as `bionic-reader init`.
|
|
4
|
+
The executable must already be on `PATH`. Local native archives, Homebrew,
|
|
5
|
+
Linux system packages, Snap, Python wheels, and npm-family packages carry these
|
|
6
|
+
directories under `share/bionic-reader/integrations/adapters`. Cargo source
|
|
7
|
+
installation installs only the executable; a source checkout uses this
|
|
8
|
+
directory directly. Copy only the adapter for your framework. Installation of
|
|
9
|
+
the executable never edits shell configuration.
|
|
10
|
+
|
|
11
|
+
| Framework | Adapter directory | Activation |
|
|
12
|
+
| --- | --- | --- |
|
|
13
|
+
| Bash-it | `bash-it/bionic-reader` | Copy `bionic-reader.plugin.bash` to `$BASH_IT_CUSTOM/plugins/` (normally `~/.bash_it/custom/plugins/`). Bash-it loads custom plugin files. |
|
|
14
|
+
| Oh My Bash | `oh-my-bash/bionic-reader` | Copy the directory to `$OSH_CUSTOM/plugins/bionic-reader` and add `bionic-reader` to your existing `plugins` array before loading Oh My Bash. |
|
|
15
|
+
| Oh My Zsh | `oh-my-zsh/bionic-reader` | Copy the directory to `$ZSH_CUSTOM/plugins/bionic-reader` and add `bionic-reader` to your existing `plugins` array before loading Oh My Zsh. |
|
|
16
|
+
| Prezto | `prezto/bionic-reader` | Copy to a user module directory, include its parent in `zstyle ':prezto:load' pmodule-dirs`, and append `bionic-reader` to your existing `pmodule` list in `.zpreztorc`. |
|
|
17
|
+
| Zinit | `zinit/bionic-reader` | Copy to a local plugin directory and add `zinit light /absolute/path/to/bionic-reader` after loading Zinit. |
|
|
18
|
+
| Fisher | `fisher/bionic-reader` | Run `fisher install /absolute/path/to/this/directory`; Fisher installs its `conf.d/bionic-reader.fish` file. |
|
|
19
|
+
| Oh My Fish | `oh-my-fish/bionic-reader` | Copy to `$OMF_CONFIG/pkg/bionic-reader` (normally `~/.config/omf/pkg/bionic-reader`). Oh My Fish loads its `init.fish`. |
|
|
20
|
+
|
|
21
|
+
Preserve the other entries in your framework configuration. Avoid adding both
|
|
22
|
+
a standalone automatic-start snippet and a framework adapter; repeated loading
|
|
23
|
+
is guarded, but one activation route is easier to maintain. Set
|
|
24
|
+
`BIONIC_READER_DISABLE=1` before starting a shell to skip automatic activation.
|
|
25
|
+
|
|
26
|
+
To uninstall integration, remove the copied adapter and its activation entry.
|
|
27
|
+
For Fisher, use `fisher remove /absolute/path/to/the/installed/plugin`. No
|
|
28
|
+
original configuration needs to be reconstructed.
|
|
29
|
+
|
|
30
|
+
`tests/frameworks.rs` exercises the seven managers' actual loaders in isolated
|
|
31
|
+
PTYs by starting fresh interactive shells. They verify automatic activation of
|
|
32
|
+
exactly one reading session, initialization before activation and inside that
|
|
33
|
+
session, and emphasized command output. `frameworks.tsv` pins the official upstream revisions. Run
|
|
34
|
+
`scripts/check-frameworks.sh` to fetch those revisions into a temporary directory
|
|
35
|
+
and run the tests. These network-dependent tests are separate from the offline
|
|
36
|
+
unit suite and run explicitly in CI. They establish compatibility with the
|
|
37
|
+
pinned revisions, not every past or future framework version.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
bash-it https://github.com/Bash-it/bash-it.git 86b6da1cc1b34e77e6b199960e23b8e2822f0185
|
|
2
|
+
oh-my-bash https://github.com/ohmybash/oh-my-bash.git 4d86087c31b867a30ddaaea270804839b0988e74
|
|
3
|
+
oh-my-zsh https://github.com/ohmyzsh/ohmyzsh.git 2100c630ba4bd67bb48802c3e7da893a4fdaa1a0
|
|
4
|
+
prezto https://github.com/sorin-ionescu/prezto.git cff2d01871425b1b80710f8ec6a475c5a53145b4
|
|
5
|
+
zinit https://github.com/zdharma-continuum/zinit.git f466c8805d8890f76bed8cf0972e0f7310fc5fc9
|
|
6
|
+
fisher https://github.com/jorgebucaran/fisher.git 791da644d33d392216f6b1a9b5fc1e470db6d7f2
|
|
7
|
+
oh-my-fish https://github.com/oh-my-fish/oh-my-fish.git 043699af326b1d4fcfaf1b2e591d830d1d53506a
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# bionic-reader generated Bash integration. Evaluate with: eval "$(bionic-reader init bash)"
|
|
2
|
+
if [[ ${BIONIC_READER_DISABLE-} != 1 && $- == *i* && -t 0 && -t 1 ]]; then
|
|
3
|
+
if [[ ${BIONIC_READER_SESSION-} == 1 && -n ${BIONIC_READER_MARKER_TOKEN-} ]]; then
|
|
4
|
+
if [[ ${_BIONIC_READER_BASH_HOOKS-} != 1 ]]; then
|
|
5
|
+
_BIONIC_READER_BASH_HOOKS=1
|
|
6
|
+
_BIONIC_READER_BASH_ACTIVE=0
|
|
7
|
+
_BIONIC_READER_BASH_PROMPT_ACTIVE=0
|
|
8
|
+
_bionic_reader_marker() {
|
|
9
|
+
local LC_ALL=C
|
|
10
|
+
local _br_quoted=
|
|
11
|
+
if [[ $# -gt 1 ]]; then
|
|
12
|
+
builtin printf -v _br_quoted '%q' "$2"
|
|
13
|
+
fi
|
|
14
|
+
builtin printf '\033P+BIONIC_READER;%s;%s:%s\033\\' "$BIONIC_READER_MARKER_TOKEN" "$1" "$_br_quoted" >&2
|
|
15
|
+
}
|
|
16
|
+
_bionic_reader_debug() {
|
|
17
|
+
local _br_status=$?
|
|
18
|
+
local _br_command=${BASH_COMMAND-}
|
|
19
|
+
if [[ ${_BIONIC_READER_BASH_PROMPT_ACTIVE-0} == 1 ]]; then
|
|
20
|
+
if [[ $_br_command == _bionic_reader_prompt_done ]]; then
|
|
21
|
+
_BIONIC_READER_BASH_PROMPT_ACTIVE=0
|
|
22
|
+
fi
|
|
23
|
+
elif [[ ${_BIONIC_READER_BASH_ACTIVE-0} != 1 ]]; then
|
|
24
|
+
_BIONIC_READER_BASH_ACTIVE=1
|
|
25
|
+
_bionic_reader_marker BEGIN "$_br_command"
|
|
26
|
+
fi
|
|
27
|
+
if [[ -n ${_BIONIC_READER_BASH_OLD_DEBUG_BODY-} ]]; then
|
|
28
|
+
builtin eval -- "$_BIONIC_READER_BASH_OLD_DEBUG_BODY"
|
|
29
|
+
fi
|
|
30
|
+
return "$_br_status"
|
|
31
|
+
}
|
|
32
|
+
_bionic_reader_prompt() {
|
|
33
|
+
local _br_status=$?
|
|
34
|
+
_BIONIC_READER_BASH_LAST_STATUS=$_br_status
|
|
35
|
+
if [[ ${_BIONIC_READER_BASH_ACTIVE-0} == 1 ]]; then
|
|
36
|
+
_bionic_reader_marker END
|
|
37
|
+
_BIONIC_READER_BASH_ACTIVE=0
|
|
38
|
+
fi
|
|
39
|
+
_BIONIC_READER_BASH_PROMPT_ACTIVE=1
|
|
40
|
+
return "$_br_status"
|
|
41
|
+
}
|
|
42
|
+
_bionic_reader_prompt_done() { return "${_BIONIC_READER_BASH_LAST_STATUS-0}"; }
|
|
43
|
+
_bionic_reader_preexec() {
|
|
44
|
+
if [[ ${_BIONIC_READER_BASH_ACTIVE-0} != 1 ]]; then
|
|
45
|
+
_BIONIC_READER_BASH_ACTIVE=1
|
|
46
|
+
_bionic_reader_marker BEGIN "$1"
|
|
47
|
+
fi
|
|
48
|
+
}
|
|
49
|
+
fi
|
|
50
|
+
if [[ ${bash_preexec_imported-${__bp_imported-}} == defined ]]; then
|
|
51
|
+
# Bash-it installs its DEBUG trap after the first prompt. Its public hook
|
|
52
|
+
# arrays keep both integrations active without competing for that trap.
|
|
53
|
+
if [[ " ${preexec_functions[*]-} " != *' _bionic_reader_preexec '* ]]; then
|
|
54
|
+
preexec_functions+=(_bionic_reader_preexec)
|
|
55
|
+
fi
|
|
56
|
+
if [[ " ${precmd_functions[*]-} " != *' _bionic_reader_prompt '* ]]; then
|
|
57
|
+
precmd_functions=(_bionic_reader_prompt "${precmd_functions[@]}")
|
|
58
|
+
fi
|
|
59
|
+
else
|
|
60
|
+
_BIONIC_READER_BASH_OLD_DEBUG_TRAP=$(builtin trap -p DEBUG)
|
|
61
|
+
if [[ -n $_BIONIC_READER_BASH_OLD_DEBUG_TRAP && $_BIONIC_READER_BASH_OLD_DEBUG_TRAP != *'_bionic_reader_debug'* ]]; then
|
|
62
|
+
_BIONIC_READER_BASH_OLD_DEBUG_TRAP=${_BIONIC_READER_BASH_OLD_DEBUG_TRAP#trap -- }
|
|
63
|
+
_BIONIC_READER_BASH_OLD_DEBUG_TRAP=${_BIONIC_READER_BASH_OLD_DEBUG_TRAP% DEBUG}
|
|
64
|
+
builtin eval "_BIONIC_READER_BASH_OLD_DEBUG_BODY=$_BIONIC_READER_BASH_OLD_DEBUG_TRAP"
|
|
65
|
+
fi
|
|
66
|
+
|
|
67
|
+
# Keep both PROMPT_COMMAND forms supported by current Bash and 3.2.
|
|
68
|
+
_BIONIC_READER_PROMPT_DECL=$(builtin declare -p PROMPT_COMMAND 2>/dev/null)
|
|
69
|
+
if [[ ${PROMPT_COMMAND[*]-} == *'_bionic_reader_prompt'* ]]; then
|
|
70
|
+
:
|
|
71
|
+
elif [[ $_BIONIC_READER_PROMPT_DECL == 'declare -a '* || $_BIONIC_READER_PROMPT_DECL == 'declare -ax '* ]]; then
|
|
72
|
+
PROMPT_COMMAND=(_bionic_reader_prompt "${PROMPT_COMMAND[@]}" _bionic_reader_prompt_done)
|
|
73
|
+
elif [[ -n ${PROMPT_COMMAND-} ]]; then
|
|
74
|
+
PROMPT_COMMAND="_bionic_reader_prompt;${PROMPT_COMMAND};_bionic_reader_prompt_done"
|
|
75
|
+
else
|
|
76
|
+
PROMPT_COMMAND='_bionic_reader_prompt;_bionic_reader_prompt_done'
|
|
77
|
+
fi
|
|
78
|
+
# A plugin loader can restore a function-scoped DEBUG trap on return.
|
|
79
|
+
# The wrapper repeats this top-level startup pass after sourcing the rc.
|
|
80
|
+
trap '_bionic_reader_debug' DEBUG
|
|
81
|
+
fi
|
|
82
|
+
elif [[ ${BIONIC_READER_SESSION-} != 1 ]]; then
|
|
83
|
+
exec bionic-reader session --shell bash
|
|
84
|
+
fi
|
|
85
|
+
fi
|