mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
|
# 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)
|
|||
|
* configurable by global array `$PWDSTYLE` (defaults to `short long none`)
|
|||
|
|
|||
|
### TODO:
|
|||
|
- elapsed time indicator
|
|||
|
- host/username indicator for ssh connections
|
|||
|
- vi REPLACE mode
|
|||
|
|
|||
|
[budspencer]: https://github.com/tannhuber/prezto
|
|||
|
[ranger]: http://ranger.nongnu.org/
|