zsh-async
dotfiles
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zsh-async
-
Zshell
[8] https://github.com/mafredri/zsh-async as an example, but also doable in bare Zsh
-
How to get `fsmonitor--daemon` going with `--no-optional-locks`?
So I have a zsh theme that uses zsh-async to fetch git --no-optional-locks status --porcelain=v2 --branch --show-stash in the background and then redraw the prompt when it's finished, so even if it takes long, regular workflow is not blocked. I saw that git 2.36 added the option to use the fsmonitor--daemon provided by git to speed up git status calls on macOS, so I tried it out.
-
ZSH, Fonts and a Beautiful Terminal
git clone https://github.com/mafredri/zsh-async ~/.oh-my-zsh/plugins/async
-
How do you lazyload or delay loading plugins? Improving zsh and other questions (Or maybe my config is broken)
https://github.com/mafredri/zsh-async this is a plugin that wraps around zsh/zpty to asynchronously perform commands; you can use this do load your plugins.
-
Extension of _hosts completion function
It heavily depends on the side project https://github.com/mafredri/zsh-async, so I am not sure how the patch would be done
-
P10K Custom Async Segment
You can use https://github.com/mafredri/zsh-async to run dvc asynchronously. First, run git clone https://github.com/mafredri/zsh-async.git ~/zsh-async. Then replace your prompt_dvc function with this:
dotfiles
What are some alternatives?
zsh-defer - Deferred execution of Zsh commands
pipx - Install and Run Python Applications in Isolated Environments
zinit - Flexible and fast Zsh plugin manager with clean fpath, reports, completion management, Turbo, annexes, services, packages.
translate-shell - :speech_balloon: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc.
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions [Moved to: https://github.com/nvm-sh/nvm]
mako - A lightweight Wayland notification daemon
zsh-hoco - ZSH _hosts autocompletion extension
Rectangle - Move and resize windows on macOS with keyboard shortcuts and snap areas
dust - A more intuitive version of du in rust
grim - Grab images from a Wayland compositor