fix .config folder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user