refactor: update starship.toml file path in setup.sh
This commit is contained in:
parent
97aa03c739
commit
a6b9467aeb
|
@ -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
|
||||||
|
```
|
2
setup.sh
2
setup.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue