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 30
30
[ ![ github/repo-size] ( https://shields.io/github/repo-size/Freed-Wu/prompt-style.lua )] ( https://github.com/Freed-Wu/prompt-style.lua )
31
31
[ ![ github/v] ( https://shields.io/github/v/release/Freed-Wu/prompt-style.lua )] ( https://github.com/Freed-Wu/prompt-style.lua )
32
32
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 )
34
34
35
35
[ Powerlevel10k] ( https://github.com/romkatv/powerlevel10k ) style for [ luaprompt] ( https://github.com/dpapavas/luaprompt ) .
36
+ Include REPLs for neovim and luatex.
36
37
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 )
38
43
39
44
## Usage
40
45
46
+ ` ~/.config/luaprc.lua ` :
47
+
41
48
``` lua
42
49
local prompt = require " prompt"
43
50
local prompt_style = require " prompt-style"
@@ -49,3 +56,19 @@ prompt.prompts = { prompt_style.generate_ps1(), " " }
49
56
50
57
See
51
58
[ ![ 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