What's the best way to define completions using "eval"?

This page summarizes the projects mentioned and recommended in the original post on /r/zsh

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cli

    GitHub’s official command line tool

  • A lot of tools bundle completions inside their own binaries. For example, the GitHub CLI expects users to install completions like this:

  • starship

    ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

  • I got the idea to use eval by looking at the starship project. What are your thoughts on how they do their initialization? Could it be made any faster/better? (FWIW, I myself use p10k simply because it looks much better; I haven't actually compared the two in terms of performance.)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • powerlevel10k

    A Zsh theme

  • I got the idea to use eval by looking at the starship project. What are your thoughts on how they do their initialization? Could it be made any faster/better? (FWIW, I myself use p10k simply because it looks much better; I haven't actually compared the two in terms of performance.)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts