heroku / heroku/cli

After adding autocomplete I started getting compaudit on zsh

Open
#1,449 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
889
Forks
236
Avg merge
2d 10h
Merged PRs (30d)
33

Description

Do you want to request a *feature* or report a *bug*?
> *Bug* but definitely arguable to be a *feature*
-----------------------------------------------------

What is the current behavior?
-----------------------------

All I did was added the below to my `~/.zshrc`

```
# # heroku autocomplete setup
HEROKU_AC_ZSH_SETUP_PATH=/Users/path/to/heroku/autocomplete/zsh_setup && test -f $HEROKU_AC_ZSH_SETUP_PATH && source $HEROKU_AC_ZSH_SETUP_PATH;
```
I have the latest!
```
$ heroku update
heroku: Updating CLI... already on latest version: 7.38.1
Updating completions... done
```
setting `DEBUG=*` does not have any effect.

This started to prompt for ignoring insecure directories.
```
zsh compinit: insecure directories and files, run compaudit for list.
Ignore insecure directories and files and continue [y] or abort compinit [n]?
```

As per my *Oh my ZSH* setup I have already got `ZSH_DISABLE_COMPFIX="true"`. Should this value not be used to ignore and not wanting us to prompt for the next step?

This is annoying because I had to always respond to a prompt every time I open the terminal.

What is the expected behavior?
------------------------------
Based on the flag set for `ZSH_DISABLE_COMPFIX` we need the prompting disabled.

Workarounds:

1. Commented the lines on that had `compinit` on `/Users/vprasanna/Library/Caches/heroku/autocomplete/zsh_setup`
2. Use the *Oh my ZSH* `heroku` plugin.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.