Skip to content

iterm is being treated as a typo #1447

Description

@danielhoherd

Please complete the following tasks

Valid word

iterm

Incorrect correction

term, item, intern

Justification

https://iterm2.com is maybe the most popular third party terminal emulator on macOS. The word iterm is being treated as a typo in code and in documentation.

Interestingly, ghostty and alacritty are both accepted.

Notes

$ echo "I love to use iterm2 as opposed to ghostty and alacritty because it has so many great features." > foo.txt
$ pre-commit run typos --files iterm2-bg-color.py foo.txt
typos....................................................................Failed
- hook id: typos
- exit code: 2

error: `iterm` should be `term`, `item`, `intern`
   ╭▸ iterm2-bg-color.py:21:9
   │
21 │ def set_iterm2_bg(hex_color):
   ╰╴        ━━━━━
error: `iterm` should be `term`, `item`, `intern`
   ╭▸ iterm2-bg-color.py:60:13
   │
60 │         set_iterm2_bg(color)
   ╰╴            ━━━━━
error: `iterm` should be `term`, `item`, `intern`
  ╭▸
1 │ /iterm2-bg-color.py
  ╰╴ ━━━━━
error: `iterm` should be `term`, `item`, `intern`
  ╭▸ foo.txt:1:15
  │
1 │ I love to use iterm2 as opposed to ghostty and alacritty because it has so many great features.
  ╰╴              ━━━━━

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions