mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-13 16:04:08 +08:00
Compare commits
No commits in common. "c686aa3dbb30704b2f8f52bf1aae19a7e41c23c1" and "2560f04982dfc2693221c7c0f47d1a71df09a794" have entirely different histories.
c686aa3dbb
...
2560f04982
@ -31,12 +31,12 @@ function aws_change_access_key() {
|
||||
|
||||
echo Insert the credentials when asked.
|
||||
asp "$1" || return 1
|
||||
AWS_PAGER="" aws iam create-access-key
|
||||
AWS_PAGER="" aws configure --profile "$1"
|
||||
aws iam create-access-key
|
||||
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_PAGER="" aws iam list-access-keys
|
||||
aws iam list-access-keys
|
||||
}
|
||||
|
||||
function aws_profiles() {
|
||||
|
||||
@ -29,7 +29,7 @@ curl https://coderwall.com/bobwilliams.json | pp_json
|
||||
- **is_json**:
|
||||
|
||||
```sh
|
||||
# Validate if file's content conforms to a valid JSON schema
|
||||
# pretty print the contents of an existing json file
|
||||
less data.json | is_json
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user