Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dersam/staples
custom zsh theme based on bureau
https://github.com/dersam/staples
zsh zsh-theme
Last synced: 3 months ago
JSON representation
custom zsh theme based on bureau
- Host: GitHub
- URL: https://github.com/dersam/staples
- Owner: dersam
- License: mit
- Created: 2015-09-13T20:44:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-08-27T15:41:53.000Z (about 3 years ago)
- Last Synced: 2024-04-21T23:19:18.653Z (7 months ago)
- Topics: zsh, zsh-theme
- Size: 41 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Staples Theme
![Screenshot](/sample.png?raw=true)
Based on oh-my-zsh's `bureau` theme. I liked bureau's two-line layout; while having the current working directory visible is great, I always disliked that long paths would cramp the space to actually write commands.
On smaller terminals, it looks like there's not that much space with the right hand side, but it will automatically disappear if you start to run into it while typing.
Like `bureau`, the git status is displayed on the right hand side, although the colors and icons were tweaked slightly.
It's called Staples because `Bureau en Gros` is the name of Staples (the office supply store) in Québec, and I like lame wordplay.
## Customizations
### Context Tags
Adds context sensitive tags to the righthand prompt, if conditions are met. This is currently all based on whether files exist in the current directory, but there's no reason it needs to be limited to that. `get_usables` can be modified
to add additional tags. See below list for files checked and the tags they generate.- ``: `gulpfile.js`
- ``: `composer.json`
- ``: `package.json`
- ``: `VagrantFile`
- ``: `Gemfile`### SSH status
If connected through an ssh session, displays `username@hostname` on the left second line before the prompt.### Last command status
If the last exit code is non-zero, the `Z` in the prompt will turn red.