Skip to content

Make your prompt asynchronous to improve the reactivity.

License

Notifications You must be signed in to change notification settings

soraxas/fish-async-prompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fish-async-prompt

Make your prompt asynchronous in Fish.

Description

Demo Video

We run your fish_prompt and fish_right_prompt functions as a separate process to update your prompt asynchronously.

Installation

With Fisher:

$ fisher install acomagu/fish-async-prompt

Configuration

async_prompt_inherit_variables

Define variables inherited to prompt functions. Set all to pass all global variables.

Default: status SHLVL CMD_DURATION

async_prompt_functions

Define functions replaced to run asynchronously. Usually one or both of fish_prompt and fish_right_prompt.

Other functions can be specified, but they must be called from fish_prompt or fish_right_prompt and function arguments can't be passed to it.

Default: fish_prompt fish_right_prompt

Author

License

MIT

About

Make your prompt asynchronous to improve the reactivity.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%