Zsh command to cat file in a s3 bucket by filtering with peco
Shell
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
README.md
peco-s3.zsh
screenshot.gif Add screenshot May 11, 2017

README.md

peco-s3.zsh

Zsh command to cat file in a s3 bucket by filtering with peco

Screenshot

Installation

  • Save peco-s3.zsh somewhere
  • Load it in your ~/.zshrc
    • source /path/to/peco-s3.zsh
  • Set your AWS credentials as environment variable
    • AWS_REGION
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY

Usage

# List all buckets
$ peco-s3

# Show files in a directory recursively
$ peco-s3 --recursive
$ peco-s3 -r

# Inside a bucket
$ peco-s3 bucket

# Inside a directory in a bucket
$ peco-s3 bucket/dir/subdir

Requires

License

The MIT License