- Notifications
You must be signed in to change notification settings - Fork129
🌊 The ultimate Fish prompt.
License
IlanCosman/tide
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The ultimate Fish prompt.
Fast - Asynchronous rendering makes Tide instantly responsive in any situation.
Friendly - An interactive configuration wizard lets you design your prompt efficiently.
Flexible - Pure-Fish construction means you can easily control existing content or create your own that will integrate seamlessly.
- Thelatest version ofFish, currently 3.6.4.Using an older version of Fish?
- ANerd Font installed and enabled in your terminal (for example therecommended font).
Install withFisher:
fisher install IlanCosman/tide@v6
Install manually
This script may not work for all use cases.
set-l _tide_tmp_dir (command mktemp-d)curl https://codeload.github.com/ilancosman/tide/tar.gz/v6| tar-xzC$_tide_tmp_dircommandcp-R$_tide_tmp_dir/*/{completions,conf.d,functions}$__fish_config_dirfish_path=(status fish-path)exec$fish_path-C"emit _tide_init_install"
Runtide configure
to open the wizard in your terminal.
Using theitems
list for each side of the prompt, you have full control of which and where prompt sections display.
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.
Tide runs everything in the background so that your prompt will always feel snappy.
Asynchronous rendering also lets Tide display more information than other prompts. For example, most prompts don't display the number of untracked, modified, or deleted files in a git repository because it's too slow to compute.
The current working directory is the most important part of any shell prompt. Tide highlights the critical parts and truncates with the least loss of information when horizontal space is scarce.
When the full directory doesn't fit, the leftmost segment is truncated to its shortest unique prefix. In the example above,Documents
becomesDoc
instead ofD
because that could be confused withDownloads
. Important segments are bold and never truncated. These include the last segment, root of a Git repository etc.
Tip: If you copy-paste a truncated path and hittab, it will complete to the original.
See theWiki for documentation.
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 theContributing Guide.
A gorgeous monospace font designed by Jim Lyles for Bitstream, customized for Apple, enhanced by André Berg, and finally patched by Roman Perepelitsa ofPowerlevel10k with scripts originally developed by Ryan McIntyre ofNerd Fonts. Contains all the glyphs and symbols that Tide may need. Battle-tested in dozens of different terminals on all major operating systems.
Download these four ttf files:
Open each file and click "Install". This will make theMesloLGS NF
font available to all applications on your system. Configure your terminal to use this font.
- Powerlevel10k - Inspired Tide's creation. Because Tide aims to replicate Powerlevel10k's amazing capabilities, small sections of documentation have been borrowed when rewording the language would reduce clarity.
- Starship - Inspired elements of Tide's documentation and community health files.
- Spacefish - Inspired some of Tide's items.
About
🌊 The ultimate Fish prompt.