Skip to content

Commit 1d19ee2

Browse files
authored
Merge pull request #53 from tcet-opensource/48-feature-starship
48 feature starship
2 parents 6059274 + a336454 commit 1d19ee2

File tree

5 files changed

+131
-23
lines changed

5 files changed

+131
-23
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
format = """
2+
[░▒▓](#a3aed2)\
3+
[  ](bg:#a3aed2 fg:#090c0c)\
4+
[](bg:#769ff0 fg:#a3aed2)\
5+
$directory\
6+
[](fg:#769ff0 bg:#394260)\
7+
$git_branch\
8+
$git_status\
9+
[](fg:#394260 bg:#212736)\
10+
$nodejs\
11+
$rust\
12+
$golang\
13+
$php\
14+
[](fg:#212736 bg:#1d2230)\
15+
$time\
16+
[ ](fg:#1d2230)\
17+
\n▶▶ """
18+
19+
[directory]
20+
style = "fg:#e3e5e5 bg:#769ff0"
21+
format = "[ $path ]($style)"
22+
truncation_length = 3
23+
truncation_symbol = "…/"
24+
25+
[directory.substitutions]
26+
"Documents" = ""
27+
"Downloads" = ""
28+
"Music" = ""
29+
"Pictures" = ""
30+
31+
[git_branch]
32+
symbol = ""
33+
style = "bg:#394260"
34+
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
35+
36+
[git_status]
37+
style = "bg:#394260"
38+
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
39+
40+
[nodejs]
41+
symbol = ""
42+
style = "bg:#212736"
43+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
44+
45+
[rust]
46+
symbol = ""
47+
style = "bg:#212736"
48+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
49+
50+
[golang]
51+
symbol = ""
52+
style = "bg:#212736"
53+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
54+
55+
[php]
56+
symbol = ""
57+
style = "bg:#212736"
58+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
59+
60+
[time]
61+
disabled = false
62+
time_format = "%R" # Hour:Minute Format
63+
style = "bg:#1d2230"
64+
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'

airootfs/etc/skel/.zshrc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
alias ls='ls --color=auto'
55
PS1='[\u@\h \W]\$ '
66

7-
8-
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
9-
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
10-
fi
11-
12-
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
13-
14-
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
15-
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
16-
177
# Autosuggestions
188
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
199

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
format = """
2+
[░▒▓](#a3aed2)\
3+
[  ](bg:#a3aed2 fg:#090c0c)\
4+
[](bg:#769ff0 fg:#a3aed2)\
5+
$directory\
6+
[](fg:#769ff0 bg:#394260)\
7+
$git_branch\
8+
$git_status\
9+
[](fg:#394260 bg:#212736)\
10+
$nodejs\
11+
$rust\
12+
$golang\
13+
$php\
14+
[](fg:#212736 bg:#1d2230)\
15+
$time\
16+
[ ](fg:#1d2230)\
17+
\n▶▶ """
18+
19+
[directory]
20+
style = "fg:#e3e5e5 bg:#769ff0"
21+
format = "[ $path ]($style)"
22+
truncation_length = 3
23+
truncation_symbol = "…/"
24+
25+
[directory.substitutions]
26+
"Documents" = ""
27+
"Downloads" = ""
28+
"Music" = ""
29+
"Pictures" = ""
30+
31+
[git_branch]
32+
symbol = ""
33+
style = "bg:#394260"
34+
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
35+
36+
[git_status]
37+
style = "bg:#394260"
38+
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
39+
40+
[nodejs]
41+
symbol = ""
42+
style = "bg:#212736"
43+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
44+
45+
[rust]
46+
symbol = ""
47+
style = "bg:#212736"
48+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
49+
50+
[golang]
51+
symbol = ""
52+
style = "bg:#212736"
53+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
54+
55+
[php]
56+
symbol = ""
57+
style = "bg:#212736"
58+
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
59+
60+
[time]
61+
disabled = false
62+
time_format = "%R" # Hour:Minute Format
63+
style = "bg:#1d2230"
64+
format = '[[  $time ](fg:#a0a9cb bg:#1d2230)]($style)'

airootfs/root/.zshrc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
alias ls='ls --color=auto'
55
PS1='[\u@\h \W]\$ '
66

7-
8-
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
9-
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
10-
fi
11-
12-
source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
13-
14-
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
15-
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
16-
177
# Autosuggestions
188
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
199

packages.x86_64

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ blueman
223223
#cups
224224
#system-config-printer
225225

226-
# Powerlevel10k
226+
# Other packages
227227
#ttf-meslo-nerd-font-powerlevel10k
228-
zsh-theme-powerlevel10k
228+
#zsh-theme-powerlevel10k
229229
zsh-completions
230230
zsh-autosuggestions
231231
zsh-fast-syntax-highlighting
@@ -264,4 +264,4 @@ file-roller
264264
neofetch-tcet
265265

266266
# Tcet Linux Welcome
267-
tcet-linux-welcome
267+
tcet-linux-welcome

0 commit comments

Comments
 (0)