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

ZSH/bash completion #88

Open
rahilb opened this issue Jun 18, 2018 · 4 comments
Open

ZSH/bash completion #88

rahilb opened this issue Jun 18, 2018 · 4 comments

Comments

@rahilb
Copy link

rahilb commented Jun 18, 2018

ISSUE

There is no tab completion, and flags are difficult to remember.

Steps to Reproduce

ssm [TAB]

(no completion)

Actual Results (include screenshots)

  • No tab completion

Expected Results (include screenshots)

A nicely formatted list of things I can do with the command, e.g. git commit --[TAB] gives something like

 rahil_bohra@32597> git commit --[TAB]
--all                           -- stage all modified and deleted paths
--allow-empty                   -- allow recording an empty commit
--allow-empty-message           -- allow recording a commit with an empty message
--amend                         -- amend the tip of the current branch
...
@shtukas
Copy link
Contributor

shtukas commented Jun 18, 2018

Thats's an excellent idea @rahilb

@shtukas
Copy link
Contributor

shtukas commented Jun 18, 2018

@rahilb I have just noticed that I don't have tab completion for git (when using either bash or zsh). Are you using any particular config ?

@rahilb
Copy link
Author

rahilb commented Jun 18, 2018

Yep, i'm using oh-my-zsh (which is brilliant btw), it ships with various completions built in. To enable git completion after installing add the line plugins=(git) to ~/.zshrc.

@shtukas
Copy link
Contributor

shtukas commented Jun 18, 2018

Oh, that makes sense. I am happy to do it but we would have to pair on it. Could you drop something in my calendar ? Anytime will do :)

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

No branches or pull requests

2 participants