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