tide/README.md

132 lines
5.0 KiB
Markdown
Raw Normal View History

2020-07-21 00:41:09 +03:00
<div align="center">
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/master/images/logo.svg"
2020-07-23 05:44:12 +03:00
alt="Tide Logo"
width="430"
2020-07-21 00:41:09 +03:00
/>
<!-- 0 width spaces on the line below -->
[![ci_badge][]][actions] [![fish_version_badge][]](#System-Requirements) [![license_badge][]][license]
2020-07-23 05:44:12 +03:00
[Installation](#Installation) · [Documentation][]
2020-07-21 00:41:09 +03:00
</div>
#
2020-06-07 02:05:49 +03:00
2020-07-23 05:44:12 +03:00
<img
src="https://raw.githubusercontent.com/IlanCosman/tide-resources/master/images/header.png"
alt="Configuration Wizard"
width="50%"
align="right"
/>
**A modern prompt manager for the [Fish][] shell.**
2020-04-03 02:30:40 +03:00
2020-07-23 05:44:12 +03:00
- **Configuration Wizard:** With four compelling styles and myriad options, you can have your out-of-the-box cake and customize it too.
- **Flexible:** One line, two line, powerline, all fine!
- **Multi-line right prompt:** Make all your Fish friends jealous with this alien technology.
- **Intelligent:** Shows relevant information at a glance, emphasizing important material.
- **Extensible:** Easily add prompt items by creating simple fish functions.
<br clear="right">
2020-05-13 06:17:03 +03:00
2020-06-16 20:03:02 +03:00
## Installation
2020-04-03 02:30:40 +03:00
2020-07-23 06:46:37 +03:00
### Prerequisites
2020-04-03 02:30:40 +03:00
2020-07-23 06:46:37 +03:00
- [Fish][] ≥ 3.1
- Git
- Curl
- A [Nerd Font][nerd fonts] installed and enabled in your terminal.
- For example the [reccomended font](#fonts)
2020-07-23 06:46:37 +03:00
### Source and run the install function:
```console
curl -sL git.io/tide | source && tide_install
```
2020-05-13 06:17:03 +03:00
2020-06-16 20:03:02 +03:00
## Features
2020-05-13 06:17:03 +03:00
2020-05-20 08:14:01 +03:00
### Configuration Wizard
2020-05-20 04:08:57 +03:00
Type `tide configure` to open the the wizard in your terminal.
2020-06-19 21:13:43 +03:00
![configuration_wizard][]
2020-05-20 04:08:57 +03:00
2020-06-10 19:18:15 +03:00
### Multi-Line Right Prompt
> Fish can't do _that_ yet can it?
2020-06-19 21:13:43 +03:00
![multi-line_right_prompt][]
2020-06-10 19:18:15 +03:00
2020-06-16 03:52:35 +03:00
### Pure Compatibility
Tide can produce the same prompt as [Pure][]. Type `tide configure` and select the Pure style.
2020-06-16 03:52:35 +03:00
2020-06-19 21:13:43 +03:00
![pure_compatibility][]
2020-06-16 03:52:35 +03:00
2020-06-17 18:57:08 +03:00
Tide doesn't recognize Pure configuration parameters, so you'll need to use `set tide_cmd_duration_threshold 3000` instead of `set pure_threshold_command_duration 3`, etc.
2020-06-16 03:52:35 +03:00
2020-06-17 18:57:08 +03:00
Pure style is an exact replication of the Pure fish theme and therefore displays less information than Lean. It exists only to ease the migration for users of that theme. Unless you are one of them, choose Lean style over Pure.
2020-06-16 22:28:24 +03:00
2020-05-20 08:14:01 +03:00
### Extensible
2020-05-20 04:08:57 +03:00
If there isn't a prompt item that fits your needs, make your own!
2020-06-19 21:13:43 +03:00
![extensible][]
2020-05-20 04:08:57 +03:00
2020-06-16 20:03:02 +03:00
## Contributing
2020-05-31 04:03:41 +03:00
If you're interested in helping contribute to Tide, please take a look at the [Contributing Guide][].
2020-05-31 04:03:41 +03:00
2020-06-16 20:03:02 +03:00
## Fonts
2020-06-05 05:43:27 +03:00
2020-07-17 05:53:34 +03:00
### Meslo Nerd Font
2020-07-18 09:17:25 +03:00
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.
2020-06-16 20:03:02 +03:00
### Font Installation
2020-06-05 05:43:27 +03:00
Download these four ttf files:
2020-07-17 05:53:34 +03:00
- [MesloLGS NF Regular.ttf][]
- [MesloLGS NF Bold.ttf][]
- [MesloLGS NF Italic.ttf][]
- [MesloLGS NF Bold Italic.ttf][]
2020-06-05 05:43:27 +03:00
2020-07-17 06:21:09 +03:00
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.
2020-07-08 21:27:41 +03:00
## Acknowledgments
2020-07-23 06:46:37 +03:00
- [Powerlevel10k][] - Inspired much of Tide's documentation, resources, ideas, and design.
- [Starship][] - Inspired elements of the documentation.
2020-07-08 21:27:41 +03:00
<!-- Alphabetical Reference Links -->
2020-07-17 05:53:34 +03:00
[actions]: https://github.com/IlanCosman/tide/actions
2020-07-12 21:12:56 +03:00
[ci_badge]: https://github.com/IlanCosman/tide/workflows/CI/badge.svg
2020-07-19 07:13:51 +03:00
[configuration_wizard]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/svgs/Configuration_Wizard.svg
2020-07-17 04:50:52 +03:00
[contributing guide]: CONTRIBUTING.md
2020-07-23 05:44:12 +03:00
[documentation]: https://github.com/IlanCosman/tide/wiki
2020-07-19 07:13:51 +03:00
[extensible]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/images/Extensible.png
2020-07-23 05:44:12 +03:00
[fish]: https://fishshell.com/
2020-07-08 21:27:41 +03:00
[fish_git_prompt]: https://fishshell.com/docs/current/cmds/fish_git_prompt.html
[fish_version_badge]: https://img.shields.io/badge/fish-3.1.0%2B-blue
2020-07-17 04:50:52 +03:00
[license]: LICENSE.md
2020-07-08 21:27:41 +03:00
[license_badge]: https://img.shields.io/github/license/IlanCosman/tide
2020-07-19 07:13:51 +03:00
[meslolgs nf bold.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/fonts/MesloLGS%20NF%20Bold.ttf
[meslolgs nf bold italic.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/fonts/MesloLGS%20NF%20Bold%20Italic.ttf
[meslolgs nf italic.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/fonts/MesloLGS%20NF%20Italic.ttf
[meslolgs nf regular.ttf]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/fonts/MesloLGS%20NF%20Regular.ttf
[multi-line_right_prompt]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/images/Multi-Line_Right_Prompt.png
2020-07-17 05:53:34 +03:00
[nerd fonts]: https://github.com/ryanoasis/nerd-fonts
2020-07-08 21:27:41 +03:00
[powerlevel10k]: https://github.com/romkatv/powerlevel10k/
2020-07-19 07:13:51 +03:00
[prompt_connection]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/images/Prompt_Connection.png
2020-07-06 20:15:49 +03:00
[pure]: https://github.com/rafaelrinaldi/pure
2020-07-19 07:13:51 +03:00
[pure_compatibility]: https://raw.githubusercontent.com/IlanCosman/tide-resources/master/svgs/Pure_Compatibility.svg
2020-07-23 06:46:37 +03:00
[starship]: https://github.com/starship/starship