Skip to content

Commit a4f68de

Browse files
committed
Also add .profile under docs for dot commands
1 parent dab0d38 commit a4f68de

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,21 @@ variable before defaulting to ``notepad`` on Windows and
245245
aws> dynamodb list-tables
246246
aws> .edit
247247

248+
Changing Profiles with .profile
249+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250+
251+
You can change the current AWS CLI profile used by the aws-shell
252+
by using the ``.profile`` dot command. If you run the ``.profile``
253+
command with no arguments, the currently configured shell profile
254+
will be printed.
255+
256+
::
257+
258+
aws> .profile demo
259+
Current shell profile changed to: demo
260+
aws> .profile
261+
Current shell profile: demo
262+
248263

249264
Executing Shell Commands
250265
------------------------

0 commit comments

Comments
 (0)