mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-12 15:34:50 +08:00
Compare commits
2 Commits
2560f04982
...
c686aa3dbb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c686aa3dbb | ||
|
|
80f669db47 |
@ -31,12 +31,12 @@ function aws_change_access_key() {
|
||||
|
||||
echo Insert the credentials when asked.
|
||||
asp "$1" || return 1
|
||||
aws iam create-access-key
|
||||
aws configure --profile "$1"
|
||||
AWS_PAGER="" aws iam create-access-key
|
||||
AWS_PAGER="" aws configure --profile "$1"
|
||||
|
||||
echo You can now safely delete the old access key running \`aws iam delete-access-key --access-key-id ID\`
|
||||
echo Your current keys are:
|
||||
aws iam list-access-keys
|
||||
AWS_PAGER="" aws iam list-access-keys
|
||||
}
|
||||
|
||||
function aws_profiles() {
|
||||
|
||||
@ -29,7 +29,7 @@ curl https://coderwall.com/bobwilliams.json | pp_json
|
||||
- **is_json**:
|
||||
|
||||
```sh
|
||||
# pretty print the contents of an existing json file
|
||||
# Validate if file's content conforms to a valid JSON schema
|
||||
less data.json | is_json
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user