Skip to content

Consider more alias/abbreviation candidates from atuin history #255

Description

@laurigates

Follow-up from the zsh-abbr scaffold (PR adding skaffold aliases + gpls/gils abbreviations).

Source: atuin history list --cmd-only | awk 'NF>0' | sort | uniq -c | sort -rn.

"Typed in full despite an existing alias" — candidates to migrate to zsh-abbr

The inline expansion is what trains the habit; these have aliases that never reveal themselves:

Command Typed in full Existing alias
chezmoi apply 260 chap
git status 222 gst

(Caveat: gst is a deeply ingrained oh-my-zsh-ism — migrating it changes long-standing muscle memory. Worth weighing.)

Genuine gaps — frequent commands with no alias at all

Command Count Possible name
npm run dev 228 nrd
cargo run 194 cr
bun dev 131 bd
git stash pop 109 gstp
gh pr checks (current branch) 103 prc / abbr
docker compose up 100 dcu
docker build . 99 dbd
git stash 95 gsta

Open question

  • Whether to keep growing aliases.zsh or move new ergonomic shortcuts to zsh-abbr by default (abbreviations keep real commands in atuin history and are self-revealing).

No urgency — captured so the analysis isn't lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions