Difference between revisions of "Aws cli: Auto-prompt"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
  awscli_completion_on () {
 
  awscli_completion_on () {
         $(export [[AWS_CLI_AUTO_PROMPT]]=on)
+
         $([[export]] [[AWS_CLI_AUTO_PROMPT]]=on)
         echo "AWS_CLI_AUTO_PROMT set to on"
+
         echo "AWS_CLI_AUTO_PROMPT set to on"
 
  }
 
  }
 
   
 
   
 
  awscli_completion_off () {
 
  awscli_completion_off () {
 
         $(export AWS_CLI_AUTO_PROMPT=off)
 
         $(export AWS_CLI_AUTO_PROMPT=off)
         echo "AWS_CLI_AUTO_PROMT set to off"
+
         echo "AWS_CLI_AUTO_PROMPT set to off"
 
  }
 
  }
  
Line 20: Line 20:
 
* [[Bash completion]]
 
* [[Bash completion]]
 
* <code>[[AWS_CLI_AUTO_PROMPT]]</code>
 
* <code>[[AWS_CLI_AUTO_PROMPT]]</code>
* <code>--no-cli-auto-prompt</code>
+
* To disable it: <code>[[aws --no-cli-auto-prompt]]</code>
 
* <code>[[AWS_PROFILE]]</code>
 
* <code>[[AWS_PROFILE]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws configure}}
 
* {{aws cli}}
 
* {{aws cli}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 19:30, 29 September 2022

Advertising: