elastic / elastic/ecctl

Deployment instructions on www.elastic.co/downloads/ecctl don't support default macOS shell (zsh)

Open
#317 4 comments 0 reactions 0 assignees View on GitHub
documentation Installation Team:Delivery
Dominant language
Go
Stars
58
Forks
61
PR merge metrics
No merged PRs in 30d

Description

## Readiness Checklist

- [x] I am running the latest version
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
- [x] I am reporting the issue to the correct repository (for multi-repository projects)

## Current/Expected Behavior

![Screen Shot 2020-06-18 at 3 35 00 PM](https://user-images.githubusercontent.com/19255656/85064415-893f2f00-b179-11ea-91db-3010bb6fc952.png)

I followed these steps from www.elastic.co/downloads/ecctl today on macOS on 10.15.5 and run into this problem:

```
tony@tony-mbp ~ % source <(ecctl generate completions)
complete:13: command not found: compdef
tony@tony-mbp ~ % bash
bash-3.2$ source <(ecctl generate completions)
bash-3.2$ echo $?
0
```
The issue is [zsh is now the default shell on macOS](https://support.apple.com/en-us/HT208050). This works fine on bash.

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.