From f84e3eb41067e140dff5ab1c777cb38424540dbc Mon Sep 17 00:00:00 2001 From: BlackNet Dev Date: Mon, 19 Jun 2023 08:51:24 +0200 Subject: [PATCH] fix .config folder --- install.sh | 5 +++++ starship.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6c6d046..5b453c7 100644 --- a/install.sh +++ b/install.sh @@ -7,6 +7,11 @@ if [[ ! -f $(which starship 2>/dev/null) ]]; then sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" fi +# check if .config folder exists +if [ ! -d ~/.conig ]; then + mkdir ~/.config +fi + # check if oh my zsh installed if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended diff --git a/starship.toml b/starship.toml index c460cdb..77e4878 100644 --- a/starship.toml +++ b/starship.toml @@ -52,7 +52,7 @@ vicmd_symbol = "[❮](green)" show_always = false style_user = "fg:yellow bg:black" style_root = "fg:#CE4B4E bg:black" -format = '[ $user ]($style)' +format = '[ $user]($style)' [hostname] ssh_only = true