Skip to content

Commit 7e5ae6b

Browse files
authored
Minor modifications to fish and starship configs (#544)
* minor modifications to fish config * fix nerd icons in starship config
1 parent 0725228 commit 7e5ae6b

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

Configs/.config/fish/config.fish

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ set -g fish_greeting
22

33
source ~/.config/fish/hyde_config.fish
44

5-
if status is-interactive
5+
if type -q starship
66
starship init fish | source
7+
set -gx STARSHIP_CACHE $XDG_CACHE_HOME/starship
8+
set -gx STARSHIP_CONFIG $XDG_CONFIG_HOME/starship/starship.toml
79
end
810

11+
set fish_pager_color_prefix cyan
12+
set fish_color_autosuggestion brblack
13+
914
# List Directory
1015
alias l='eza -lh --icons=auto' # long list
1116
alias ls='eza -1 --icons=auto' # short list

Configs/.config/starship/starship.toml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ $kubernetes\
1212
$vcsh\
1313
$hg_branch\
1414
$pijul_channel\
15-
$docker_context\
1615
$c\
1716
$cmake\
1817
$cobol\
@@ -105,7 +104,7 @@ format = " [  $branch](fg:#9198a1)"
105104
ahead = '⇡${count}'
106105
behind = '⇣${count}'
107106
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
108-
format = '[[( $all_status$ahead_behind )](fg:#769ff0)]($style)'
107+
format = '[[( $all_status$ahead_behind )](fg:#769ff0)]($style)'
109108
style = "bg:#394260"
110109

111110

@@ -115,7 +114,7 @@ format = '[[  $time ](fg:#a0a9cb )]($style)'
115114
time_format = "%R" # Hour:Minute Format
116115

117116
[deno]
118-
format = " [deno](italic) [ $version](green bold)"
117+
format = " [deno](italic) [ $version](green bold)"
119118
version_format = "${raw}"
120119

121120
[lua]
@@ -128,19 +127,19 @@ version_format = "${raw}"
128127
detect_extensions = []
129128
detect_files = ["package-lock.json", "yarn.lock"]
130129
detect_folders = ["node_modules"]
131-
format = " [node](italic) [◫ ](bold bright-green)"
130+
format = "[ ](bold bright-green)"
132131
version_format = "${raw}"
133132

134133
[python]
135134
format = " [py](italic) [${symbol}${version}]($style)"
136135
style = "bold bright-yellow"
137-
symbol = "[](bold bright-blue)⌊ "
136+
symbol = "[](bold bright-blue)⌊ "
138137
version_format = "${raw}"
139138

140139
[ruby]
141140
format = " [rb](italic) [${symbol}${version}]($style)"
142141
style = "bold red"
143-
symbol = " "
142+
symbol = " "
144143
version_format = "${raw}"
145144

146145
[rust]
@@ -150,14 +149,14 @@ symbol = " "
150149
[swift]
151150
format = " [sw](italic) [${symbol}${version}]($style)"
152151
style = "bold bright-red"
153-
symbol = " "
152+
symbol = " "
154153
version_format = "${raw}"
155154

156155
[aws]
157156
disabled = true
158157
format = " [aws](italic) [$symbol $profile $region]($style)"
159158
style = "bold blue"
160-
symbol = " "
159+
symbol = " "
161160

162161
[buf]
163162
format = " [buf](italic) [$symbol $version $buf_version]($style)"
@@ -173,15 +172,12 @@ symbol = "◯ "
173172

174173
[dart]
175174
format = " dart [$symbol($version )]($style)"
176-
symbol = "◁◅ "
175+
symbol = " "
177176

178-
[docker_context]
179-
format = " docker [$symbol$context]($style)"
180-
symbol = ""
181177

182178
[elixir]
183179
format = " exs [$symbol $version OTP $otp_version ]($style)"
184-
symbol = " "
180+
symbol = " "
185181

186182
[elm]
187183
format = " elm [$symbol($version )]($style)"
@@ -197,7 +193,7 @@ symbol = "❯λ "
197193

198194
[java]
199195
format = " java [${symbol}(${version} )]($style)"
200-
symbol = " "
196+
symbol = " "
201197

202198
[julia]
203199
format = " jl [$symbol($version )]($style)"
@@ -216,7 +212,7 @@ format = '[$symbol nix⎪$state⎪]($style) [$name](italic dimmed white)'
216212
impure_msg = '[⌽](bold dimmed red)'
217213
pure_msg = '[⌾](bold dimmed green)'
218214
style = 'bold italic dimmed blue'
219-
symbol = ''
215+
symbol = ''
220216
unknown_msg = '[◌](bold dimmed ellow)'
221217

222218
[spack]

0 commit comments

Comments
 (0)