mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
add path checks for config
This commit is contained in:
Binary file not shown.
@@ -40,7 +40,15 @@ elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
fi
|
||||
|
||||
echo "----- Copying NVIM configuration -----"
|
||||
if [ ! -d "~/.config" ]; then
|
||||
echo ".config folder not found. Creating one"
|
||||
mkdir ~/.confg
|
||||
fi
|
||||
ln -s ~/projects/setup/.config/nvim ~/.config/nvim
|
||||
if [ ! -d "~/.vim" ]; then
|
||||
echo ".vim folder not found. Creating one"
|
||||
mkdir ~/.confg
|
||||
fi
|
||||
ln -s ~/projects/setup/.vim/undodir ~/.vim/undodir
|
||||
|
||||
echo "----- Running PackerSync -----"
|
||||
|
||||
Reference in New Issue
Block a user