🌊 The ultimate Fish prompt.
Go to file
2020-05-19 18:08:57 -07:00
conf.d Rename to tide 2020-05-18 20:03:25 -07:00
dev Make that last commit better 2020-05-19 14:10:19 -07:00
functions Add color customization to tide_pwd 2020-05-19 11:25:17 -07:00
media Work on README 2020-05-19 18:08:57 -07:00
tests Make that last commit better 2020-05-19 14:10:19 -07:00
tide_theme Make that last commit better 2020-05-19 14:10:19 -07:00
gif.fish Work on README 2020-05-19 18:08:57 -07:00
install.fish Fix install bug 2020-05-19 14:23:30 -07:00
LICENSE Create LICENSE 2020-04-29 09:53:39 -07:00
README.md Work on README 2020-05-19 18:08:57 -07:00

Tide Fish_Version_Shield

Tide is a Fish theme inspired by Powerlevel10k. It aims to provide a powerful, flexible, and out-of-the-box experience.

Prompt_Connection

Installation

Run the install script:

curl -s https://raw.githubusercontent.com/IlanCosman/tide/master/install.fish | source; and tide_install

Features

Multi-Line Right Prompt

Fish cant do that yet can it?

Multiple_Line_Right_Prompt

Configuration Wizard

Type tide configure to open the the wizard in your terminal.

Configuration_Wizard

Extensible

If there isn't a prompt item that fits your needs, make your own!

Extensible

Configuration

Note that all tide variables, unless stated otherwise, begin with the string tide_. Thus, for brevity, variables in this section will be denoted as example_variable but will actually be tide_example_variable.

Prompt Items

Item Display
status special exit statuses and pipe status
cmd_duration duration of the last run command
context user@hostname when using SSH or root
jobs presence of background jobs
time current time

pwd

Variable Description Default
pwd_shorten_margin number of columns distance to maintain between pwd and edge of terminal 5
pwd_unwritable_icon symbol to display when the current directory is not writable by the user '' #Lock icon

git prompt

Tide's git capabilities are currently inherited from fish's built-in fish_git_prompt. Modify those variables to configure tide's git prompt.

prompt connection

Variable Description Default
prompt_connection_color color of prompt connection 6C6C6C
prompt_connection_icon repeated symbol that spans gap between left and right sides of prompt ' '

Right Prompt Items

Variable Description Default
right_prompt_items order of right prompt items that will be displayed 'status' 'cmd_duration' 'context' 'jobs'

status

Variable Description Default
status_success_icon symbol to display when the last command in a pipeline succeeds '✔'
status_success_color color of successful pipeline's status 5FAF00
status_failure_icon symbol to display when the last command in a pipeline fails '✘'
status_failure_color color of failed pipeline's status D70000

cmd_duration

Variable Description Default
cmd_duration_color color of cmd_duration output 87875F
cmd_duration_decimals number of decimals to display after seconds place 0
cmd_duration_threshold number of milliseconds that duration must exceed to produce output 3000