All Projects → jorgebucaran → Hydro

jorgebucaran / Hydro

Licence: mit
Ultra-pure, lag-free prompt with async Git status. Designed for Fish.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Hydro

Async Redis
First class async & promise support for redis.
Stars: ✭ 128 (-6.57%)
Mutual labels:  async
Sieppari
Small, fast, and complete interceptor library for Clojure/Script
Stars: ✭ 133 (-2.92%)
Mutual labels:  async
Cppcoro
A library of C++ coroutine abstractions for the coroutines TS
Stars: ✭ 2,118 (+1445.99%)
Mutual labels:  async
Lealone
极具创新的面向微服务和 OLTP/OLAP 场景的单机与分布式关系数据库
Stars: ✭ 1,802 (+1215.33%)
Mutual labels:  async
Zhttp
基于swoole的异步轻量级web框架,内部封装协程异步非阻塞全套mysql、redis、mongo、memcached连接池,可以轻松start、reload、stop,加入数据库的查询模块,框架已经封装好近乎同步写法,底层异步调用
Stars: ✭ 131 (-4.38%)
Mutual labels:  async
Vkwave
Asynchronous framework for building high-performance & easy to scale projects interacting with VK's API.
Stars: ✭ 135 (-1.46%)
Mutual labels:  async
Up
Quickly navigate to a parent directory via tab-completion.
Stars: ✭ 126 (-8.03%)
Mutual labels:  fish
Redux Most
Most.js based middleware for Redux. Handle async actions with monadic streams & reactive programming.
Stars: ✭ 137 (+0%)
Mutual labels:  async
Rubico
[a]synchronous functional programming
Stars: ✭ 133 (-2.92%)
Mutual labels:  async
Nim Chronos
Chronos - An efficient library for asynchronous programming
Stars: ✭ 136 (-0.73%)
Mutual labels:  async
Guwen Spider
一个完整的nodeJs 串行爬虫 抓取3万多个页面。
Stars: ✭ 129 (-5.84%)
Mutual labels:  async
Spotify.py
🌐 API wrapper for Spotify 🎶
Stars: ✭ 131 (-4.38%)
Mutual labels:  async
Actix Web
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Stars: ✭ 12,723 (+9186.86%)
Mutual labels:  async
Kitchen Async
A Promise library for ClojureScript, or a poor man's core.async
Stars: ✭ 128 (-6.57%)
Mutual labels:  async
Dots
Personal *nix configuration files
Stars: ✭ 136 (-0.73%)
Mutual labels:  fish
Tas
Make it easy to develop large, complex Node.js app.
Stars: ✭ 128 (-6.57%)
Mutual labels:  async
Pyrogram
Telegram MTProto API Client Library and Framework in Pure Python for Users and Bots
Stars: ✭ 2,252 (+1543.8%)
Mutual labels:  async
Angular Async Loader
Load modules and components asynchronously for angular 1.x application.
Stars: ✭ 137 (+0%)
Mutual labels:  async
Futures Intrusive
Synchronization primitives for Futures and async/await based on intrusive collections
Stars: ✭ 137 (+0%)
Mutual labels:  async
Aiohttp
Asynchronous HTTP client/server framework for asyncio and Python
Stars: ✭ 11,972 (+8638.69%)
Mutual labels:  async

Hydro

Ultra-pure, lag-free prompt with async Git status. Designed for Fish.

Installation

Install with Fisher:

fisher install jorgebucaran/hydro

Features

One prompt symbol to rule them all. Change it.

~ ❱ ⎢

Show Git branch name and status—prompt repaints asynchronously! ✨

~/p/hydro main ❱ touch Solution
~/p/hydro main• ❱ ⎢

indicates that there are staged, unstaged or untracked files.

Show how many commits you're ahead and/or behind of your upstream—prompt repaints asynchronously! ✨

~/p/hydro main• ↓2 ❱ git commit -am Hotfix
~/p/hydro main ↑1 ↓2 ❱ git pull --rebase && git push
~/p/hydro main ❱ ⎢

Show $CMD_DURATION if > 1 second.

~/p/hydro main ❱ git push --quiet
~/p/hydro main 1.1s ❱ ⎢

Show the last $pipestatus.

~/p/hydro main ❱ false
~/p/hydro main ❱ [1]
~/p/hydro main ❱ true | false | false
~/p/hydro main [0ǀ1ǀ1] ⎢

Truncate $PWD segments except for the basename and root of Git repos.

~ ❱ projects/hydro/
~/p/hydro ❱ functions/share/
~/p/hydro/f/share ❱ ⎢

Show current bindings mode.

I ~Esc
N ~R
R ~ ❱ ⎢

We even set the terminal title to $PWD and the currently running command for you.

fish ~/projects/hydro

Performance

Blazing fast would be an understatement considering that the LLVM repo has over 375,000 commits!

~/llvm-project main ❱ time fish_prompt
~/llvm-project main ❱
________________________________________________________
Executed in   79.00 micros    fish           external
   usr time   71.00 micros   71.00 micros    0.00 micros
   sys time    9.00 micros    9.00 micros    0.00 micros

Configuration

Modify variables using set --universal from the command line or set --global in your config.fish file.

Symbols

Variable Type Description Default
hydro_symbol_prompt string Prompt symbol.
hydro_symbol_git_dirty string Dirty repository symbol.
hydro_symbol_git_ahead string Ahead of your upstream symbol.
hydro_symbol_git_behind string Behind of your upstream symbol.

Colors

Any argument accepted by set_color.

Variable Type Description Default
hydro_color_pwd color Color of the pwd segment. $fish_color_normal
hydro_color_git color Color of the git segment. $fish_color_normal
hydro_color_error color Color of the error segment. $fish_color_error
hydro_color_prompt color Color of the prompt symbol. $fish_color_normal
hydro_color_duration color Color of the duration section. $fish_color_normal

Flags

Variable Type Description Default
hydro_fetch boolean Fetch git remote in the background. false

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].