Skip to content

Commit 6eede76

Browse files
prime-runkRHYME7Copilot
authored
Add Starship Prompt Configuration to Replace Powerlevel10k Theme (#514)
* feat: add starship with prestes and transient prompt for zsh * add docs and commnt gudes, fix XDG path * fix starship install in .lst, straship is built in rust * Update .zshenv restore p10k load script * Use starship > p10k This should save up time loading it * fix: update starship path to ~/.config/starship/ in restore_cfgs * move pokego to extra * refactor Transient Prompt for implementation in .zshrc * remove bg color from time in starship.toml * nuke lualine.toml * cleanup and remove zshrc changes for now. * Update Configs/.config/starship/starship.toml Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: kRHYME7 <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent f424e66 commit 6eede76

File tree

7 files changed

+411
-8
lines changed

7 files changed

+411
-8
lines changed
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
format = """
2+
[](#9A348E)\
3+
$os\
4+
$username\
5+
[](bg:#DA627D fg:#9A348E)\
6+
$directory\
7+
[](fg:#DA627D bg:#FCA17D)\
8+
$git_branch\
9+
$git_status\
10+
[](fg:#FCA17D bg:#86BBD8)\
11+
$c\
12+
$elixir\
13+
$elm\
14+
$golang\
15+
$gradle\
16+
$haskell\
17+
$java\
18+
$julia\
19+
$nodejs\
20+
$nim\
21+
$rust\
22+
$scala\
23+
[](fg:#86BBD8 bg:#06969A)\
24+
$docker_context\
25+
[](fg:#06969A bg:#33658A)\
26+
$time\
27+
[ ](fg:#33658A)\
28+
"""
29+
30+
# Disable the blank line at the start of the prompt
31+
# add_newline = false
32+
33+
# You can also replace your username with a neat symbol like  or disable this
34+
# and use the os module below
35+
[username]
36+
show_always = true
37+
style_user = "bg:#9A348E"
38+
style_root = "bg:#9A348E"
39+
format = '[$user ]($style)'
40+
disabled = false
41+
42+
# An alternative to the username module which displays a symbol that
43+
# represents the current operating system
44+
[os]
45+
style = "bg:#9A348E"
46+
disabled = true # Disabled by default
47+
48+
[directory]
49+
style = "bg:#DA627D"
50+
format = "[ $path ]($style)"
51+
# truncation_length = 3
52+
# truncation_symbol = "…/"
53+
54+
# Here is how you can shorten some long paths by text replacement
55+
# similar to mapped_locations in Oh My Posh:
56+
[directory.substitutions]
57+
"Documents" = "󰈙 "
58+
"Downloads" = ""
59+
"Music" = ""
60+
"Pictures" = ""
61+
# Keep in mind that the order matters. For example:
62+
# "Important Documents" = " 󰈙 "
63+
# will not be replaced, because "Documents" was already substituted before.
64+
# So either put "Important Documents" before "Documents" or use the substituted version:
65+
# "Important 󰈙 " = " 󰈙 "
66+
67+
[c]
68+
symbol = ""
69+
style = "bg:#86BBD8"
70+
format = '[ $symbol ($version) ]($style)'
71+
72+
[docker_context]
73+
symbol = ""
74+
style = "bg:#06969A"
75+
format = '[ $symbol $context ]($style)'
76+
77+
[elixir]
78+
symbol = ""
79+
style = "bg:#86BBD8"
80+
format = '[ $symbol ($version) ]($style)'
81+
82+
[elm]
83+
symbol = ""
84+
style = "bg:#86BBD8"
85+
format = '[ $symbol ($version) ]($style)'
86+
87+
[git_branch]
88+
symbol = ""
89+
style = "bg:#FCA17D"
90+
format = '[ $symbol $branch ]($style)'
91+
92+
[git_status]
93+
style = "bg:#FCA17D"
94+
format = '[$all_status$ahead_behind ]($style)'
95+
96+
[golang]
97+
symbol = ""
98+
style = "bg:#86BBD8"
99+
format = '[ $symbol ($version) ]($style)'
100+
101+
[gradle]
102+
style = "bg:#86BBD8"
103+
format = '[ $symbol ($version) ]($style)'
104+
105+
[haskell]
106+
symbol = ""
107+
style = "bg:#86BBD8"
108+
format = '[ $symbol ($version) ]($style)'
109+
110+
[java]
111+
symbol = ""
112+
style = "bg:#86BBD8"
113+
format = '[ $symbol ($version) ]($style)'
114+
115+
[julia]
116+
symbol = ""
117+
style = "bg:#86BBD8"
118+
format = '[ $symbol ($version) ]($style)'
119+
120+
[nodejs]
121+
symbol = ""
122+
style = "bg:#86BBD8"
123+
format = '[ $symbol ($version) ]($style)'
124+
125+
[nim]
126+
symbol = "󰆥 "
127+
style = "bg:#86BBD8"
128+
format = '[ $symbol ($version) ]($style)'
129+
130+
[rust]
131+
symbol = ""
132+
style = "bg:#86BBD8"
133+
format = '[ $symbol ($version) ]($style)'
134+
135+
[scala]
136+
symbol = ""
137+
style = "bg:#86BBD8"
138+
format = '[ $symbol ($version) ]($style)'
139+
140+
[time]
141+
disabled = false
142+
time_format = "%R" # Hour:Minute Format
143+
style = "bg:#33658A"
144+
format = '[  $time ]($style)'
Lines changed: 244 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
# "$schema" = 'https://starship.rs/config-schema.json'
2+
# format = '$all'
3+
add_newline = false
4+
format = """\
5+
󰣇 \
6+
$directory\
7+
$git_branch$git_commit$git_state $git_status\
8+
$character\
9+
"""
10+
right_format = """
11+
$singularity\
12+
$kubernetes\
13+
$vcsh\
14+
$hg_branch\
15+
$pijul_channel\
16+
$docker_context\
17+
$c\
18+
$cmake\
19+
$cobol\
20+
$daml\
21+
$dart\
22+
$deno\
23+
$dotnet\
24+
$elixir\
25+
$elm\
26+
$erlang\
27+
$fennel\
28+
$golang\
29+
$guix_shell\
30+
$haskell\
31+
$haxe\
32+
$helm\
33+
$java\
34+
$julia\
35+
$kotlin\
36+
$gradle\
37+
$lua\
38+
$nim\
39+
$nodejs\
40+
$ocaml\
41+
$opa\
42+
$perl\
43+
$php\
44+
$pulumi\
45+
$purescript\
46+
$python\
47+
$raku\
48+
$rlang\
49+
$red\
50+
$ruby\
51+
$rust\
52+
$scala\
53+
$solidity\
54+
$swift\
55+
$terraform\
56+
$vlang\
57+
$vagrant\
58+
$zig\
59+
$buf\
60+
$conda\
61+
$meson\
62+
$spack\
63+
$memory_usage\
64+
$aws\
65+
$gcloud\
66+
$openstack\
67+
$azure\
68+
$crystal\
69+
$custom\
70+
$status\
71+
$os\
72+
$battery\
73+
$time"""
74+
75+
continuation_prompt = '▶▶ '
76+
77+
78+
# style_choices:
79+
# bold
80+
# italic
81+
# underline
82+
# dimmed
83+
# inverted
84+
# blink
85+
# hidden
86+
# strikethrough
87+
# bg:<color>
88+
# fg:<color>
89+
# <color>
90+
# none
91+
92+
# $crystal$golang$java$nodejs$php$python$rust\
93+
# [character]
94+
# success_symbol = "[  ]($bold fg:#f8f8f2)"
95+
# error_symbol = "[ ➤ ]($bold fg:#fb4934)"
96+
97+
[directory]
98+
disabled = false
99+
format = "[$path](bold fg:#8be9fd)"
100+
truncate_to_repo = false
101+
# home_symbol = "" #https://github.com/starship/starship/pull/2198/files
102+
103+
[git_branch]
104+
format = " [  $branch](fg:#9198a1)"
105+
106+
[git_status]
107+
format = ' [[ ($all_status$ahead_behind )](fg:#769ff0)]($style)'
108+
style = "bg:#394260"
109+
ahead = '⇡${count}'
110+
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
111+
behind = '⇣${count}'
112+
113+
# [git_branch]
114+
# symbol = ""
115+
# style = "bg:#394260"
116+
# format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
117+
#
118+
# [git_status]
119+
# style = "bg:#394260"
120+
# format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
121+
# ahead = '⇡${count}'
122+
# diverged = '⇕⇡${ahead_count}⇣${behind_count}'
123+
# behind = '⇣${count}'
124+
125+
126+
[time]
127+
disabled = false
128+
time_format = "%R" # Hour:Minute Format
129+
format = '[[  $time ](fg:#a0a9cb )]($style)'
130+
131+
[deno]
132+
format = " [deno](italic) [∫ $version](green bold)"
133+
version_format = "${raw}"
134+
135+
[lua]
136+
format = " [lua](italic) [${symbol}${version}]($style)"
137+
version_format = "${raw}"
138+
symbol = ""
139+
style = "bold bright-yellow"
140+
141+
[nodejs]
142+
format = " [node](italic) [◫ ](bold bright-green)"
143+
version_format = "${raw}"
144+
detect_files = ["package-lock.json", "yarn.lock"]
145+
detect_folders = ["node_modules"]
146+
detect_extensions = []
147+
148+
[python]
149+
format = " [py](italic) [${symbol}${version}]($style)"
150+
symbol = "[⌉](bold bright-blue)⌊ "
151+
version_format = "${raw}"
152+
style = "bold bright-yellow"
153+
154+
[ruby]
155+
format = " [rb](italic) [${symbol}${version}]($style)"
156+
symbol = ""
157+
version_format = "${raw}"
158+
style = "bold red"
159+
160+
[rust]
161+
format = " rs $symbol"
162+
symbol = ""
163+
164+
# [package]
165+
# format = " [pkg](italic dimmed) [$symbol$version]($style)"
166+
# version_format = "${raw}"
167+
# symbol = "◨ "
168+
# style = "dimmed yellow italic bold"
169+
170+
[swift]
171+
format = " [sw](italic) [${symbol}${version}]($style)"
172+
symbol = ""
173+
style = "bold bright-red"
174+
version_format = "${raw}"
175+
176+
[aws]
177+
disabled = true
178+
format = " [aws](italic) [$symbol $profile $region]($style)"
179+
style = "bold blue"
180+
symbol = ""
181+
182+
[buf]
183+
symbol = ""
184+
format = " [buf](italic) [$symbol $version $buf_version]($style)"
185+
186+
[c]
187+
symbol = ""
188+
format = " [$symbol($version(-$name))]($style)"
189+
190+
[conda]
191+
symbol = ""
192+
format = " conda [$symbol$environment]($style)"
193+
194+
[dart]
195+
symbol = "◁◅ "
196+
format = " dart [$symbol($version )]($style)"
197+
198+
[docker_context]
199+
symbol = ""
200+
format = " docker [$symbol$context]($style)"
201+
202+
[elixir]
203+
symbol = ""
204+
format = " exs [$symbol $version OTP $otp_version ]($style)"
205+
206+
[elm]
207+
symbol = ""
208+
format = " elm [$symbol($version )]($style)"
209+
210+
[golang]
211+
symbol = ""
212+
format = " go [$symbol($version )]($style)"
213+
214+
[haskell]
215+
symbol = "❯λ "
216+
format = " hs [$symbol($version )]($style)"
217+
218+
[java]
219+
symbol = ""
220+
format = " java [${symbol}(${version} )]($style)"
221+
222+
[julia]
223+
symbol = ""
224+
format = " jl [$symbol($version )]($style)"
225+
226+
[memory_usage]
227+
symbol = "▪▫▪ "
228+
format = " mem [${ram}( ${swap})]($style)"
229+
230+
[nim]
231+
symbol = "▴▲▴ "
232+
format = " nim [$symbol($version )]($style)"
233+
234+
[nix_shell]
235+
style = 'bold italic dimmed blue'
236+
symbol = ''
237+
format = '[$symbol nix⎪$state⎪]($style) [$name](italic dimmed white)'
238+
impure_msg = '[⌽](bold dimmed red)'
239+
pure_msg = '[⌾](bold dimmed green)'
240+
unknown_msg = '[◌](bold dimmed yellow)'
241+
242+
[spack]
243+
symbol = ""
244+
format = " spack [$symbol$environment]($style)"

0 commit comments

Comments
 (0)