refactor: update starship.toml file path in setup.sh

This commit is contained in:
Bram Kelchtermans 2024-06-27 21:32:30 +02:00
parent 97aa03c739
commit a6b9467aeb
2 changed files with 6 additions and 1 deletions

5
README.MD Normal file
View File

@ -0,0 +1,5 @@
# Execute the script
```bash
git clone https://gitea.bramkelchtermans.be/Bram/linux-presets.git && cd linux-presets && chmod +x setup.sh && ./setup.sh
```

View File

@ -31,7 +31,7 @@ configure_starship() {
# Function to overwrite starship.toml # Function to overwrite starship.toml
overwrite_starship_toml() { overwrite_starship_toml() {
if [ -f "./starship.toml" ]; then if [ -f "./terminal/starship.toml" ]; then
echo "Overwriting starship.toml..." echo "Overwriting starship.toml..."
mkdir -p ~/.config/starship mkdir -p ~/.config/starship
cp ./terminal/starship.toml ~/.config/starship/starship.toml cp ./terminal/starship.toml ~/.config/starship/starship.toml