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