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

From wikieduonline
Jump to navigation Jump to search
 
(5 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_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_PROMPT set to off"
 
  }
 
  }
  
Line 17: Line 19:
 
== Related terms ==
 
== Related terms ==
 
* [[Bash completion]]
 
* [[Bash completion]]
* <code>--no-cli-auto-prompt</code>
+
* <code>[[AWS_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: