fish-shell/share/completions/isatty.fish
Fabian Boehm 8f08fe80fd Restyle codebase
Not a lot of changes, tbh
2022-06-16 18:43:28 +02:00

9 lines
227 B
Fish

complete -c isatty -x
if test -d /dev/fd
complete -c isatty -k -a "(string replace /dev/fd/ '' /dev/fd/*)"
end
complete -c isatty -k -a stderr -d 2
complete -c isatty -k -a stdout -d 1
complete -c isatty -k -a stdin -d 0