Skip to content

Instantly share code, notes, and snippets.

@andreav
Last active May 5, 2024 04:01
Show Gist options
  • Select an option

  • Save andreav/b5188a8640a9e612d39bc52743abab99 to your computer and use it in GitHub Desktop.

Select an option

Save andreav/b5188a8640a9e612d39bc52743abab99 to your computer and use it in GitHub Desktop.

Revisions

  1. andreav renamed this gist Jun 23, 2022. 1 changed file with 0 additions and 0 deletions.
  2. andreav revised this gist Jun 23, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion aws-profile-chooser-alias
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    alias aws-profile-choose='x() { select prof in $( aws configure list-profiles ) ; do export AWS_PROFILE="$prof"; break; done }; x'
    alias aws-profile-chooser='x() { select prof in $( aws configure list-profiles ) ; do export AWS_PROFILE="$prof"; break; done }; x'
  3. andreav revised this gist Jun 23, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion aws-profile-chooser-alias
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    alias aws-profile-choose='x() { select prof in $( aws configure list-profiles ) ; do echo "$prof"; export AWS_PROFILE="$prof"; break; done }; x'
    alias aws-profile-choose='x() { select prof in $( aws configure list-profiles ) ; do export AWS_PROFILE="$prof"; break; done }; x'
  4. andreav created this gist Jun 23, 2022.
    1 change: 1 addition & 0 deletions aws-profile-chooser-alias
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    alias aws-profile-choose='x() { select prof in $( aws configure list-profiles ) ; do echo "$prof"; export AWS_PROFILE="$prof"; break; done }; x'