Skip to content

help users with zsh #206

@sjourdan

Description

@sjourdan

zsh is installed by default on macs and this is a bad experience as I just used what worked on bash + on the docs:

$ driftctl scan --from tfstate://**/*.tfstate
zsh: no matches found: tfstate://**/*.tfstate
$ bash
bash-3.2$ driftctl scan --from tfstate://**/*.tfstate
Scanned states (3)
Found resources not covered by IaC:
  aws_internet_gateway:
    - igw-01f1b9d38973e31ce
[...]

On zsh we should use something like driftctl scan --from 'tfstate://**/*.tfstate'

Let's update the docs!

It works well with bash too:

bash-3.2$ driftctl scan --from 'tfstate://**/*.tfstate'
Scanned states (3)
Found resources not covered by IaC:
  aws_internet_gateway:
    - igw-01f1b9d38973e31ce
[...]

Why not documenting using the quotes be the default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions