mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 03:02:52 +08: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/
This commit is contained in:
parent
8a6ba7fc4c
commit
4208798585
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"
|
Loading…
Reference in New Issue
Block a user