thoughtbot / thoughtbot/dotfiles

Can not get completions working for `g` function.

Open
#651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
8.2k
Forks
1.8k
Avg merge
10d 14h
Merged PRs (30d)
1

Description

How to reproduce:

FROM ubuntu
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:martin-frost/thoughtbot-rcm
RUN apt-get update && apt-get install -y vim git zsh curl rcm
RUN git clone git://github.com/thoughtbot/dotfiles.git ~/dotfiles && env RCRC=$HOME/dotfiles/rcrc rcup
RUN rcup

docker build . -t dotfiles && docker run --rm -it dotfiles zsh

If I type g and hit TAB, there is no suggestions. But I expect them to be present because there is:
compdef g=git

in zsh/completion/_g

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the Docker build and interactive zsh commands shown in the report. Start by inspecting zsh/completion/_g and the compdef g=git declaration; done means pressing TAB after g presents Git completions in the reproduced environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, zsh
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.