chubin / chubin/cheat.sh

Zsh tab completion not working on Mac

Open
#266 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
41.7k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Hi,
I've installed tab completion script following the commands.
```
$ curl https://cheat.sh/:zsh > ~/.zsh.d/_cht
$ echo 'fpath=(~/.zsh.d/ $fpath)' >> ~/.zshrc
$ # Open a new shell to load the plugin
```
However, even if I have ran `source ~/.zshrc`, when I type `cht.sh go/f`, the suggestion didn't show up.
Am I missing something? Thanks!

![image](https://user-images.githubusercontent.com/24364830/100745973-09510c80-341b-11eb-9dae-566f9953abc3.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the commands in the issue and inspecting the generated ~/.zsh.d/_cht alongside ~/.zshrc. Check the :zsh endpoint and the shell's completion behavior for cht.sh go/f. Done means tab completion works on macOS after following the documented setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
zsh
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.