oh-my-fish/themes/budspencer/README.md

48 lines
1.3 KiB
Markdown
Raw Normal View History

2014-07-26 14:09:31 +08:00
# budspencer theme
Translation of zsh's prezto [budspencer theme][budspencer]
## Left prompt segments
- Vi mode indicator
- Git repository information
- Status symbols
* V: vi is parent process
* R: [ranger][ranger] is parent process
* ⚙: there are background jobs
* : no write permissions in present working directory
* ✔: last command succeeded
* ✘: last command failed
* ⚡: superuser indicator
## Right prompt segments
- Git status symbols
* ↑: git repository is ahead origin
* ↓: git repository is behind origin
* +: new files added
* : files deleted
* ✱: files have changed
* ●: uncommited changes
* ✭: commits stashed
- Present working directory
* style can be toggled in NORMAL mode with space bar
* styles implemented:
- `short` (show truncated path)
- `long` (show full path)
- `none` (show nothing)
2014-07-26 14:29:01 +08:00
* configurable by global array `$PWDSTYLE` (if not set, defaults to `short long none`)
## Screenshot
![budspencer theme][screenshot]
## TODO
2014-07-26 14:09:31 +08:00
- elapsed time indicator
- host/username indicator for ssh connections
- vi REPLACE mode
[budspencer]: https://github.com/tannhuber/prezto
[ranger]: http://ranger.nongnu.org/
2014-07-26 14:29:01 +08:00
[screenshot]: https://raw.githubusercontent.com/tannhuber/prezto/master/screenshots/budspencer.png