Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Sordie/AWSume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AWSume Zsh Plugin

An Oh-My-Zsh Plugin to enable autocompletion and displaying the currently selected awsume profile.

Installation

git clone https://github.com/Sordie/AWSume.git $ZSH_CUSTOM/plugins/awsume/

Afterwards enable the plugin in your .zshrc file.

plugins=(... awsume)

Finally, add the function call awsume_prompt_info to the theme of your choice.

Variables

  • ZSH_THEME_AWSUME_PROMPT_PREFIX
  • ZSH_THEME_AWSUME_PROMPT_SUFFIX

Usage Example

Create a custom theme within $ZSH_CUSTOM/themes/ by creating a file like awsume-example.zsh-theme. Use that theme to add awsume_prompt_info to your prompt.

ZSH_THEME_AWSUME_PROMPT_PREFIX="☁️  "

PROMPT='
$(awsume_prompt_info)
$ '

If you would like to add this to an existing theme copy the theme into the $ZSH_CUSTOM/themes/ and then customize it.

About

AWSume Oh-My-Zsh Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages