mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-14 06:22:51 +08:00
![Ilya Grigoriev](/assets/img/avatar_default.png)
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/
3 lines
146 B
Fish
3 lines
146 B
Fish
complete -c unbuffer -a "(__fish_complete_subcommand)" -x
|
|
complete -c unbuffer -s p -d "Read from stdin for pipeline use, exit when stdin closes"
|