2022-03-31 00:29:59 +08:00
|
|
|
complete -c isatty -x
|
|
|
|
|
|
|
|
if test -d /dev/fd
|
|
|
|
complete -c isatty -k -a "(string replace /dev/fd/ '' /dev/fd/*)"
|
|
|
|
end
|
|
|
|
|
2022-06-17 00:43:28 +08:00
|
|
|
complete -c isatty -k -a stderr -d 2
|
|
|
|
complete -c isatty -k -a stdout -d 1
|
|
|
|
complete -c isatty -k -a stdin -d 0
|