Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suonto/awsp-zsh-plugin

Improvement of the official ZSH AWS Plugin. Adds colors and intuitive profile management.
https://github.com/suonto/awsp-zsh-plugin

Last synced: about 1 month ago
JSON representation

Improvement of the official ZSH AWS Plugin. Adds colors and intuitive profile management.

Awesome Lists containing this project

README

        

# awsp

AWS profile management plugin for ZSH.

Inspired by https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/aws/aws.plugin.zsh.

Improvements: colors, intuitive usage.

## Installation
```
git clone [email protected]:suonto/awsp-zsh-plugin.git ~/.oh-my-zsh/custom/plugins/awsp
```
Modify `~/.zshrc` plugins to include `awsp`. Open a new shell.

You can optimize perf by adding also `source $HOME/.oh-my-zsh/custom/plugins/awsp/awsp_colors.sh`.

## Configuration
```
cp ~/.oh-my-zsh/custom/plugins/awsp/awsp_colors.default.sh ~/.oh-my-zsh/custom/plugins/awsp/awsp_colors.sh
vi ~/.oh-my-zsh/custom/plugins/awsp/awsp_colors.sh
```
Note: color matching currently supports wildcard (*) only as the last character.

## Usage
```
% awsp --help
Usage: awsp [OPTIONS] [PROFILE]

An intuitive aws profile manager.

Reads profile data from ~/.aws/config.

Options:
-h, --help Get help
-d, --disable Remove aws profile information from RPROMPT

Set AWSP_RPOMPT_OPT_OUT to any non-empty value to permanently opt
out of RPROMPT info.
```

### Features
List by default:
![default](pics/default.png)
Autocomplete:
![autocomplete](pics/autocomplete.png)
Colors:
![colors](pics/colors.png)
Mistake detection:
![errors](pics/errors.png)

#### Extension awsps (aws profile show)
Shows all details of the current aws profile.