mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
completions: add unbuffer completions
unbuffer is sometimes bundled with `expect` (which fish already ships
completions for), and sometimes is bundled separately. It's often
recommended for forcing colors to have color output.
https://manpages.debian.org/bookworm/expect/unbuffer.1.en.html
Ads for unbuffer:
https://wiki.archlinux.org/title/Color_output_in_console#Reading_from_stdin
https://jvns.ca/blog/2024/10/01/terminal-colours/
(cherry picked from commit 4208798585)
This commit is contained in:
committed by
David Adam
parent
fab273cf4d
commit
c571b65221
2
share/completions/unbuffer.fish
Normal file
2
share/completions/unbuffer.fish
Normal file
@@ -0,0 +1,2 @@
|
||||
complete -c unbuffer -a "(__fish_complete_subcommand)" -x
|
||||
complete -c unbuffer -s p -d "Read from stdin for pipeline use, exit when stdin closes"
|
||||
Reference in New Issue
Block a user