From a6b9467aeb3438e3fb0b38b95a31327d3c9df522 Mon Sep 17 00:00:00 2001 From: Bram Kelchtermans Date: Thu, 27 Jun 2024 21:32:30 +0200 Subject: [PATCH] refactor: update starship.toml file path in setup.sh --- README.MD | 5 +++++ setup.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 README.MD diff --git a/README.MD b/README.MD new file mode 100644 index 00000000..719dc231 --- /dev/null +++ b/README.MD @@ -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 +``` \ No newline at end of file diff --git a/setup.sh b/setup.sh index c59e7feb..ce243a5d 100644 --- a/setup.sh +++ b/setup.sh @@ -31,7 +31,7 @@ configure_starship() { # Function to overwrite starship.toml overwrite_starship_toml() { - if [ -f "./starship.toml" ]; then + if [ -f "./terminal/starship.toml" ]; then echo "Overwriting starship.toml..." mkdir -p ~/.config/starship cp ./terminal/starship.toml ~/.config/starship/starship.toml