File tree Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Expand file tree Collapse file tree 1 file changed +25
-2
lines changed Original file line number Diff line number Diff line change 3030[ ![ github/repo-size] ( https://shields.io/github/repo-size/Freed-Wu/prompt-style.lua )] ( https://github.com/Freed-Wu/prompt-style.lua )
3131[ ![ github/v] ( https://shields.io/github/v/release/Freed-Wu/prompt-style.lua )] ( https://github.com/Freed-Wu/prompt-style.lua )
3232
33- [ ![ luarocks] ( https://img.shields.io/luarocks/v/Freed-Wu/prompt-style )] ( https://luarocks.org/modules/Freed-Wu )
33+ [ ![ luarocks] ( https://img.shields.io/luarocks/v/Freed-Wu/prompt-style )] ( https://luarocks.org/modules/Freed-Wu/prompt-style )
3434
3535[ Powerlevel10k] ( https://github.com/romkatv/powerlevel10k ) style for [ luaprompt] ( https://github.com/dpapavas/luaprompt ) .
36+ Include REPLs for neovim and luatex.
3637
37- ![ screenshot] ( https://user-images.githubusercontent.com/32936898/255322845-c4c6e13c-3b39-4315-b09b-206a1a7783ea.png )
38+ ![ luap] ( https://user-images.githubusercontent.com/32936898/255322845-c4c6e13c-3b39-4315-b09b-206a1a7783ea.png )
39+
40+ ![ nvimp] ( https://github.com/Freed-Wu/prompt-style.lua/assets/32936898/8d0b4863-15c6-4966-b8af-219c9c40c1ae )
41+
42+ ![ texluap] ( https://github.com/Freed-Wu/prompt-style.lua/assets/32936898/96d9f4c1-55fc-4ae3-87b8-7afd29f4ba0e )
3843
3944## Usage
4045
46+ ` ~/.config/luaprc.lua ` :
47+
4148``` lua
4249local prompt = require " prompt"
4350local prompt_style = require " prompt-style"
@@ -49,3 +56,19 @@ prompt.prompts = { prompt_style.generate_ps1(), " " }
4956
5057See
5158[ ![ readthedocs] ( https://shields.io/readthedocs/prompt-stylelua )] ( https://prompt-stylelua.readthedocs.io ) .
59+
60+ ## Install
61+
62+ ### [ AUR] ( https://aur.archlinux.org/packages/lua-prompt-style )
63+
64+ ``` sh
65+ yay -S lua{,51,52,53}-prompt-style
66+ ```
67+
68+ ** NOTE** : neovim, luatex use some specific version of lua.
69+
70+ ### [ Luarocks] ( https://luarocks.org/modules/Freed-Wu/prompt-style )
71+
72+ ``` sh
73+ luarocks install prompt-style
74+ ```
You can’t perform that action at this time.
0 commit comments