https://github.com/magicmark/pieprompt
pieprompt
https://github.com/magicmark/pieprompt
Last synced: about 1 year ago
JSON representation
pieprompt
- Host: GitHub
- URL: https://github.com/magicmark/pieprompt
- Owner: magicmark
- Created: 2016-12-16T10:24:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T14:57:26.000Z (over 9 years ago)
- Last Synced: 2025-02-16T03:24:51.439Z (about 1 year ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PiePrompt
PiePrompt is a custom PS1 written in Python. It is modular and responsive.
To use: install in a venv, and use this custom zsh theme:
```
function precmd() {
path/to/venv/bin/pieprompt top "$(tput cols)"
}
PROMPT='%5{$(path/to/venv/bin/pieprompt bottom "$(tput cols)")%}'
RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'
```