forked from AmrEldib/cmder-powerline-prompt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_powerline_config.lua.sample
40 lines (33 loc) · 1.23 KB
/
_powerline_config.lua.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
-- Configurations
-- Config file is "_powerline_config.lua"
-- Sample config file is "_powerline_config.lua.sample"
-- Configurations are stored as variables
-- Each variable is usually named in this pattern:
-- powerline_config_<addon>_<property>
-- Ex: powerline_config_prompt_type is variable for the prompt addon for specifying the type of prompt to show
-- Config for powerline core are named like this:
-- powerline_config_core_<property>
--- powerline_config_prompt_type is whether the displayed prompt is the full path or only the folder name
-- Use:
-- "full" for full path like C:\Windows\System32
-- "folder" for folder name only like System32
-- "smart" to treat the top github project path as home and provide the HOME dir behaviour where applicable
-- default is full
powerline_config_prompt_type = "smart"
--- powerline_config_prompt_useHomeSymbol is whether to show ~ instead of the full path to the user's home folder
-- Use true or false
-- default is true
powerline_config_prompt_useHomeSymbol = true
-- Constacts
homeSymbol = "~"
-- Constants
-- Symbols
arrowSymbol = ""
lambSymbol = "λ"
newLineSymbol = "\n"
branchSymbol = ""
githubSymbol = "GIT"
npmSymbol = "NPM"
nodeSymbol = "NODE"
delayGit = 61
delayNpm = 60