DopplerHQ / cli

The official CLI for interacting with your Doppler secrets and configuration.
https://docs.doppler.com
Apache License 2.0
221 stars 44 forks source link

[BUG] syntax error in /etc/bash_completion.d/doppler #369

Closed jheyer159 closed 1 year ago

jheyer159 commented 1 year ago

Describe the bug After installing doppler using (curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sudo sh

I'm getting the following error

source ~/.bash_profile
sh: /etc/bash_completion.d/doppler: line 129: syntax error near unexpected token `<'
sh: /etc/bash_completion.d/doppler: line 129: `        done < <(compgen -W "${out}" -- "$cur")'

To Reproduce

  1. Install doppler cli
  2. source ~/.bash_profile
  3. See error

Expected behavior No syntax error

Desktop (please complete the following information):

VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

CLI Version: v3.54.0

Piccirello commented 1 year ago

I'm not able to reproduce this. Are you still experiencing this issue?

jheyer159 commented 1 year ago

I've stopped using this OS and haven't run into this in other environments.