https://github.com/shihanng/zim-granted
A Zim's module that set up shell completion for Granted
https://github.com/shihanng/zim-granted
assume aws granted zim zimfw zsh zsh-completion
Last synced: 2 months ago
JSON representation
A Zim's module that set up shell completion for Granted
- Host: GitHub
- URL: https://github.com/shihanng/zim-granted
- Owner: shihanng
- License: mit
- Created: 2025-02-09T22:39:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-10T01:35:02.000Z (over 1 year ago)
- Last Synced: 2025-04-25T12:07:18.257Z (about 1 year ago)
- Topics: assume, aws, granted, zim, zimfw, zsh, zsh-completion
- Language: Shell
- Homepage: https://github.com/shihanng/zim-granted
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zim-granted
A [Zim](https://zimfw.sh/)'s module that set up shell completion for [Granted](https://docs.commonfate.io/granted/introduction).
## Prerequisites
- [Granted](https://docs.commonfate.io/granted/getting-started)
## Usage
Add the following to your `~/.zimrc`.
> [!NOTE]
> This module uses granted CLI to generate completion file.
> The CLI creates the completion in `$HOME/.granted/zsh_autocomplete/`
> and adds `fpath` in `$HOME/.zshenv` if not exist.
```zsh
zmodule shihanng/zim-granted
```