Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaqaishtyaq/iay
Minimalistic Shell Prompt
https://github.com/aaqaishtyaq/iay
bash-prompt hacktoberfest-accepted rust shell shell-prompt zsh zsh-prompt
Last synced: 3 months ago
JSON representation
Minimalistic Shell Prompt
- Host: GitHub
- URL: https://github.com/aaqaishtyaq/iay
- Owner: aaqaishtyaq
- License: mit
- Created: 2021-09-09T13:04:59.000Z (over 3 years ago)
- Default Branch: trunk
- Last Pushed: 2023-11-06T04:44:08.000Z (about 1 year ago)
- Last Synced: 2024-09-14T04:56:44.913Z (4 months ago)
- Topics: bash-prompt, hacktoberfest-accepted, rust, shell, shell-prompt, zsh, zsh-prompt
- Language: Rust
- Homepage:
- Size: 94.7 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iay
{ba, z}sh prompt written in rust.
```console
~/D/g/a/iay main [!] %
```- bash users, set your `PS1`:
```shell
PS1='$(iay)' # regular variant
PS1='$(iay -m)' # minimal variant
```- zsh users, add this to your `.zshrc`:
```shell
autoload -Uz add-zsh-hook
_iay_prompt() {
PROMPT="$(iay -z)" # regular variant
# PROMPT="$(iay -zm)" # miminal variant
}
add-zsh-hook precmd _iay_prompt
```## [Configure the prompt](Configuration.md)
Configurations for the prompt.
## Screenshots
![base16-iay](https://user-images.githubusercontent.com/22131756/204612606-4a130ea2-a940-4250-80b4-60cf6c0ccbeb.png)
![gruvbox-iay](https://user-images.githubusercontent.com/22131756/204612665-eeac4fc2-6ec1-421c-8843-e6883ff90e1a.png)