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

62 Commits
 
 
 
 
 
 

Repository files navigation

fish-async-prompt

Make your prompt asynchronous in Fish shell.

Description

Demo Video

It runs fish_prompt and fish_right_prompt functions as another process and then, update the prompt asynchronously.

Installation

With fisher:

$ fisher add acomagu/fish-async-prompt

If your prompt doesn't work correctly, try changing the configuration.

Configuration

Variable: async_prompt_inherit_variables

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

Default: status SHLVL CMD_DURATION

Variable: 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 arguments can't be passed.

Default: fish_prompt fish_right_prompt

Author

About

Make your prompt asynchronous to improve the reactivity.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%