An open API service indexing awesome lists of open source software.

https://github.com/const-void/rose-pine-zsh

Soho vibes for zsh
https://github.com/const-void/rose-pine-zsh

Last synced: 3 months ago
JSON representation

Soho vibes for zsh

Awesome Lists containing this project

README

        



Rosé Pine for zsh

All natural pine, faux fur and a bit of soho vibes for the classy minimalist





## Installation (temp)

```zsh
# cp
$ git clone https://github.com/const-void/rose-pine-zsh.git

# bld from template
$ cd path/to/rose-pine/build/dist
$ node cli.js -f rgb-ansi -t ~/path/to/rose-pine-zsh/src/template.zsh -o ~/path/to/rose-pine-zsh/dist/themes

# tst
$ cd ~/path/to/rose-pine-zsh/
$ make test
```

## Installation - PENDING
```zsh
$ git clone https://github.com/const-void/rose-pine-zsh.git
$ cd rose-pine-zsh
$ make install
$ vi ~/.zshrc
...
source ~/.config/zsh/rose-pine-zsh/rose-pine-zsh.zsh
colorize_zsh "rose-pine"
...
# sample prompt
COLOR_POST=$(term16m_set_color ${TERM16M_BASE} ${TERM16M_IRIS})
COLOR_AT=$(term16m_set_color ${TERM16M_BASE} ${TERM16M_MUTED})
COLOR_DIR=$(term16m_set_color ${TERM16M_OVERLAY} ${TERM16M_GOLD})
COLOR_PMPT=$(term16m_set_color ${TERM16M_BASE} ${TERM16M_ROSE})
COLOR_CMD=$(term16m_set_color ${TERM16M_BASE} ${TERM16M_TEXT})
prompt="${COLOR_POST}%n${COLOR_AT}@${COLOR_POST}%m ${COLOR_DIR}%1~${COLOR_PMPT} %# ${COLOR_CMD}"
,,,
$ ~/.zshrc

```
## Test
```zsh
$ cd rose-pine-zsh
$ make test
```

-or-

```zsh
$ cd rose-pine-zsh/test
$ ./verify-theme.zsh rose-pine
$ ./verify-theme.zsh rose-pine-moon
$ ./verify-theme.zsh rose-pine-dawn
```

## Gallery
![Rosé Pine](./doc/rose-pine.png)

![Rosé Pine Moon](./doc/rose-pine-moon.png)

![Rosé Pine Dawn](./doc/rose-pine-dawn.png)

## Contributing
(at some point)

> Prefer using [@rose-pine/build](https://github.com/rose-pine/build) when possible

Modify `template.json` using Rosé Pine variables, then build variants:

```sh
npx @rose-pine/build@latest
```