Skip to content

fish complains it can’t read Primary Device Attribute…only when logging in #12571

Description

@adiabatic
> fish --version
fish, version 4.5.0

I’m running macOS 26.4.

I have not tried fish without third-party customizations, but I don’t have anything super fancy like oh-my-fish or that kind of thing.


When I reboot my Mac, I get the following in Terminal.app (but not iTerm; not sure why):

Last login: Wed Mar 25 17:19:08 on ttys004
warning: fish could not read response to Primary Device Attribute query after waiting for 2 seconds. This is often due to a missing feature in your terminal. See 'help terminal-compatibility' or 'man fish-terminal-compatibility'. This fish process will no longer wait for outstanding queries, which disables some optional features.
fish_config theme choose: failed to find '[unknown]' section (implied by $fish_terminal_color_theme) in 'ayu’ theme
fish_config theme choose: hint: if your terminal does not report colors, pass --color-theme=light or --color-theme=dark when using color-theme-aware themes

I never get this warning when I hit ⌘N or ⌘T to get a new window/tab; I figure I’m only getting this warning because, when I’m logging in after a reboot, the system is absolutely hammered trying to get all my programs running again and something’s not responding in time.

I had a look at #11108. Would it be possible (not 100% sure it’d be a good idea) to extend the 2-second timeout to something moderately ridiculous, like 5 or 10 seconds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions