From ad5870cb1ced3e97cd85022f2664ce70ce04e047 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Tue, 10 Nov 2020 12:37:32 +0100 Subject: Create starship.toml --- config/starship.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config/starship.toml diff --git a/config/starship.toml b/config/starship.toml new file mode 100644 index 0000000..42bac54 --- /dev/null +++ b/config/starship.toml @@ -0,0 +1,14 @@ +add_newline = false + +[directory] +truncation_length = 15 +style = "cyan" + +[line_break] +disabled = true + +[custom.docker] +description = "Shows the docker symbol if the current directory has Dockerfile or docker-compose.yml files" +command = "echo 🐳" +files = ["Dockerfile", "docker-compose.yml", "docker-compose.yaml"] +when = """ command -v docker &> /dev/null; exit (echo $?); """ -- cgit v1.2.3-18-g5258