Skip to content

Commit

Permalink
add cargo/rust configuration to fish
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Steinke committed Jul 30, 2024
1 parent 4ebc697 commit ec32e41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ set --export PATH $PATH $GOPATH/bin
#
set --export CARGO_NET_GIT_FETCH_WITH_CLI true
set --export PATH $PATH /usr/local/opt/llvm/bin/
set --export PATH $PATH $HOME/.cargo/bin

#
# Scala
Expand Down
6 changes: 5 additions & 1 deletion starship.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ format = """
[](fg:nord3 bg:nord1)\
[ $git_branch$git_status](fg:nord4 bg:nord1)\
[](fg:nord1 bg:nord3)\
[ $aws$kubernetes$golang](fg:nord4 bg:nord3)\
[ $aws$kubernetes$golang$rust](fg:nord4 bg:nord3)\
[](fg:nord3 bg:nord1)\
$fill\
[$battery](fg:nord11 bg:nord1)\
Expand Down Expand Up @@ -46,6 +46,10 @@ symbol=" "
format=' $symbol($version )'
symbol=""

[rust]
format=' $symbol($version )'
symbol=""

[kubernetes]
format=' $symbol$context( \($namespace\))'
symbol="󱃾 "
Expand Down

0 comments on commit ec32e41

Please sign in to comment.