tide/README.md
2020-08-19 10:35:04 -07:00

166 lines
5.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div align="center">
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/main/images/logo.svg"
alt="logo.svg"
width="61.8%"
/>
<!-- 0 width spaces on the line below -->
[![ci_badge][]][actions] [![fish_version_badge][]](#System-Requirements) [![license_badge][]][license]
</div>
#
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/main/images/header.png"
alt="header.png"
width="50%"
align="right"
/>
**A modern prompt manager for the [Fish][] shell.**
- **Out of the box:** With four compelling styles and myriad options, you can have your out-of-the-box cake and customize it too.
- **Flexible:** Move content around, remove it, or add it back, all without ever touching a line of code.
- **Powerful:** Impress all your Fish friends with alien technologies like a multi-line right prompt.
- **Extensible:** Create custom content with simple fish functions that integrate seamlessly.
<br clear="right">
## Installation
### System Requirements
- [Git][]
- [Fish][] ≥ 3.1
- A [Nerd Font][nerd fonts] installed and enabled in your terminal (for example the [recommended font](#fonts)).
#### Source and run the install function
```console
curl -sL git.io/tide | source && tide_install
```
## Features
### Configuration Wizard
Run `tide configure` to open the the wizard in your terminal.
![configuration_wizard][]
<br>
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/main/images/flexible.png"
alt="flexible.png"
width="55%"
align="left"
/>
### Flexible
Tide uses "[items][]", small functions that create the prompt contents. Using the `items` list for each side of the prompt, you have full control of where and which items display.
<br clear="left"><br>
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/main/images/multi-line_right_prompt.png"
alt="multi-line_right_prompt.png"
width="61.8%"
align="right"
/>
### Multi-Line Right Prompt
> Fish can't do _that_ yet can it!
Tide takes care of all the multi-line logic and printing for you. All you have to do is add the `newline` item.
<br clear="right"><br>
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/main/images/extensible.png"
alt="extensible.png"
width="61.8%"
align="left"
/>
### Extensible
If there isn't an item that fits your needs you can make your own (and hopefully submit a pull request) or ask for it to be made by opening an issue.
<br clear="left"><br>
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/main/animations/pure_emulation.gif"
alt="pure_emulation.gif"
width="61.8%"
align="right"
/>
### Pure Emulation
Tide can easily produce the same prompt as [Pure][] (with a number of improvements). Run `tide configure` and select the Pure style.
All of Tide's features are available while using Pure style, though it displays less information by default than Lean style.
<br clear="right">
## Documentation
See the [wiki][] for the full documentation.
## Contributing
From the smallest typo to the largest feature, contributions of any size or experience level are welcome!
If you're interested in helping contribute to Tide, please take a look at the [Contributing Guide][].
## Fonts
### Meslo Nerd Font
Gorgeous monospace font designed by Jim Lyles for Bitstream, customized for Apple, enhanced by André Berg, and finally patched by Roman Perepelitsa of [Powerlevel10k][] with scripts originally developed by Ryan McIntyre of [Nerd Fonts][]. Contains all the glyphs and symbols that Tide may need. Battle-tested in dozens of different terminals on all major operating systems.
### Font Installation
Download these four ttf files:
- [MesloLGS NF Regular.ttf][]
- [MesloLGS NF Bold.ttf][]
- [MesloLGS NF Italic.ttf][]
- [MesloLGS NF Bold Italic.ttf][]
Open each file and click "Install". This will make the `MesloLGS NF` font available to all applications on your system. Configure your terminal to use this font.
## Acknowledgments
- [Powerlevel10k][] - Inspired much of Tide's documentation, resources, ideas, and design.
- [Starship][] - Inspired elements of Tide's documentation and community health files.
- [Spacefish][] - Inspired some of Tide's items.
[actions]: https://github.com/IlanCosman/tide/actions
[ci_badge]: https://github.com/IlanCosman/tide/workflows/CI/badge.svg
[configuration_wizard]: https://raw.githubusercontent.com/IlanCosman/tide-resources/main/animations/configuration_wizard.gif
[contributing guide]: CONTRIBUTING.md
[fish]: https://fishshell.com/
[fish_version_badge]: https://img.shields.io/badge/fish-3.1.0%2B-blue
[git]: https://git-scm.com/
[license]: LICENSE.md
[license_badge]: https://img.shields.io/github/license/IlanCosman/tide
[meslolgs nf bold.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/main/fonts/mesloLGS_NF_bold.ttf
[meslolgs nf bold italic.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/main/fonts/mesloLGS_NF_bold_italic.ttf
[meslolgs nf italic.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/main/fonts/mesloLGS_NF_italic.ttf
[meslolgs nf regular.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/main/fonts/mesloLGS_NF_regular.ttf
[nerd fonts]: https://github.com/ryanoasis/nerd-fonts
[powerlevel10k]: https://github.com/romkatv/powerlevel10k/
[items]: https://github.com/IlanCosman/tide/wiki/Items
[pure]: https://github.com/rafaelrinaldi/pure
[spacefish]: https://github.com/matchai/spacefish
[starship]: https://github.com/starship/starship
[wiki]: https://github.com/IlanCosman/tide/wiki