Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Stripe Autocompletion Integration for oh-my-zsh Users #1126

Open
MohammadSalek opened this issue Oct 8, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@MohammadSalek
Copy link

Problem

The Stripe autocompletion feature seamlessly integrates with oh-my-zsh using the setup-with-zsh method. This involves adding the following lines to the .zshrc file:

fpath=(~/.stripe $fpath)
autoload -Uz compinit && compinit -i

However, when oh-my-zsh is in use, the .zshrc file already triggers autoload -Uz compinit && compinit -i through source $ZSH/oh-my-zsh.sh. While running the command twice won't cause any issues, it's redundant and unnecessary.

Feature

To enhance user experience for oh-my-zsh users, it would be beneficial to include a brief note guiding them on integrating the Stripe autocompletion feature without duplication.

Examples

For example, you can find detailed guidance on configuring completions in zsh in Homebrew's documentation, available here.

@MohammadSalek MohammadSalek added the enhancement New feature or request label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant