Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help users with zsh #206

Open
sjourdan opened this issue Dec 22, 2021 · 1 comment
Open

help users with zsh #206

sjourdan opened this issue Dec 22, 2021 · 1 comment
Labels
kind/documentation Improvements or additions to documentation

Comments

@sjourdan
Copy link
Contributor

sjourdan commented Dec 22, 2021

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?

@sjourdan sjourdan added the kind/documentation Improvements or additions to documentation label Dec 22, 2021
@Arisfx
Copy link

Arisfx commented Jan 21, 2022

very helpful post regarding the zsh, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants