From 5444d396153bfe242366f0ca8b4e0cff4798df20 Mon Sep 17 00:00:00 2001 From: Bram Kelchtermans Date: Thu, 27 Jun 2024 22:18:34 +0200 Subject: [PATCH] refactor: Update starship.toml file path and add optional icon parameter in setup.sh --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index fa034bea..20887a26 100644 --- a/setup.sh +++ b/setup.sh @@ -34,12 +34,12 @@ overwrite_starship_toml() { if [ -f "./terminal/starship.toml" ]; then echo "Overwriting starship.toml..." mkdir -p ~/.config/starship - cp ./terminal/starship.toml ~/.config/starship/starship.toml + cp ./terminal/starship.toml ~/.config/starship.toml # Check if icon parameter is provided if [ ! -z "$icon" ]; then echo "Adding icon [$icon](bg:color_purple fg:color_white) to starship.toml..." - sed -i "5i\icon = \"$icon\"" ~/.config/starship/starship.toml + sed -i "5i\icon = \"$icon\"" ~/.config/starship.toml fi else