diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-03-30 04:32:30 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-03-30 04:32:30 +0300 |
commit | 49d503f2e6ae423b9ac28e23aaa83279b8e1428b (patch) | |
tree | 2bcf57aac75ea9f326d785336cc19dddc3c2a9da /README.md | |
parent | 576f1c0309fe3232af5b8fac78405f954e452a99 (diff) |
Segments now alphabetical in README. Broke out `aws` docs.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -58,14 +58,14 @@ You then need to select this theme in your `~/.zshrc`: You can choose which segments are shown on each side. The segments that are currently available are: +* **aws** - The current AWS profile, if active. * **context** - Your username and host. * **dir** - Your current working directory. -* **vcs** - Information about this `git` or `hg` repository (if you are in one). +* **history** - The command number for the current line. * **rbenv** - Ruby environment information (if one is active). * **status** - The return code of the previous command, and status of background jobs. -* **history** - The command number for the current line. -* **aws** - The current AWS profile, if you exported it with `export AWS_DEFAULT_PROFILE=<profile_name>` * **time** - System time. +* **vcs** - Information about this `git` or `hg` repository (if you are in one). To specify which segments you want, just add the following variables to your `~/.zshrc`. If you don't customize this, the below configuration is the default: @@ -89,6 +89,15 @@ elements (it is by default), and define a `DEFAULT_USER` in your `~/.zshrc`: export DEFAULT_USER=<your username> +#### AWS Profile + +If you would like to display the [current AWS +profile](http://docs.aws.amazon.com/cli/latest/userguide/installing.html), add +the `aws` segment to one of the prompts, and define `AWS_DEFAULT_PROFILE` in +your `~/.zshrc`: + + export AWS_DEFAULT_PROFILE=<profile_name> + ### Bugs / Contact If you have any requests or bug reports, please use the tracker in this Github |