fix .config folder

This commit is contained in:
BlackNet Dev
2023-06-19 08:51:24 +02:00
parent 41c1a1efe1
commit f84e3eb410
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -7,6 +7,11 @@ if [[ ! -f $(which starship 2>/dev/null) ]]; then
sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" sh -c "$(curl -fsSL https://starship.rs/install.sh)" ""
fi fi
# check if .config folder exists
if [ ! -d ~/.conig ]; then
mkdir ~/.config
fi
# check if oh my zsh installed # check if oh my zsh installed
if [ ! -d ~/.oh-my-zsh ]; then if [ ! -d ~/.oh-my-zsh ]; then
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
+1 -1
View File
@@ -52,7 +52,7 @@ vicmd_symbol = "[](green)"
show_always = false show_always = false
style_user = "fg:yellow bg:black" style_user = "fg:yellow bg:black"
style_root = "fg:#CE4B4E bg:black" style_root = "fg:#CE4B4E bg:black"
format = '[ $user ]($style)' format = '[ $user]($style)'
[hostname] [hostname]
ssh_only = true ssh_only = true