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

Remove duplicated fish flag from README #80

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

howardburgess
Copy link
Contributor

To match usage in CLI, where -s and --shell have the same meaning:

> scmpuff init --help

Outputs the shell initialization script for scmpuff.

Initialize scmpuff by adding the following to your ~/.bash_profile or ~/.zshrc:

    eval "$(scmpuff init --shell=sh)"

For fish shell, add the following to ~/.config/fish/config.fish instead:

    scmpuff init --shell=fish | source

There are a number of flags to customize the shell integration.

Usage:
  scmpuff init [flags]

Flags:
  -a, --aliases                 Include short git aliases (default true)
  -h, --help                    help for init
  -s, --shell string[="fish"]   Output shell type: sh | bash | zsh | fish
  -w, --wrap                    Wrap standard git commands (default true)

To match usage in CLI help:

> scmpuff init --help

Outputs the shell initialization script for scmpuff.

Initialize scmpuff by adding the following to your ~/.bash_profile or ~/.zshrc:

    eval "$(scmpuff init --shell=sh)"

For fish shell, add the following to ~/.config/fish/config.fish instead:

    scmpuff init --shell=fish | source

There are a number of flags to customize the shell integration.

Usage:
  scmpuff init [flags]

Flags:
  -a, --aliases                 Include short git aliases (default true)
  -h, --help                    help for init
  -s, --shell string[="fish"]   Output shell type: sh | bash | zsh | fish
  -w, --wrap                    Wrap standard git commands (default true)
@mroth mroth merged commit 54fb23b into mroth:master Oct 24, 2023
9 checks passed
@mroth
Copy link
Owner

mroth commented Oct 24, 2023

Thanks!

@howardburgess howardburgess deleted the fish-usage-in-readme branch October 24, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants