Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

Commit

Permalink
fix: Typo in documentation of 'env' (#162)
Browse files Browse the repository at this point in the history
source <$(aws-okta env profile) will get you 'no such file or directory: export',
or similar. We just need to execute the command in a subshell.
  • Loading branch information
bazzargh authored and nickatsegment committed Jun 12, 2019
1 parent 722162b commit 7ca339d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var envCmd = &cobra.Command{
Use: "env <profile>",
Short: "env prints out export commands for the specified profile",
RunE: envRun,
Example: "source <$(aws-okta env test)",
Example: "source <(aws-okta env test)",
ValidArgs: listProfileNames(mustListProfiles()),
}

Expand Down

0 comments on commit 7ca339d

Please sign in to comment.