made mkdir more robust

This commit is contained in:
Alexander Serowy 2021-04-01 14:00:32 +02:00
parent 43b1289a82
commit 3a917ee683

View File

@ -35,7 +35,7 @@ heading "old nvim config will be deleted so watchout :0"
# copying config
rm -rf ~/.config/nvim/ && mkdir ~/.config/nvim
rm -rf ~/.config/nvim/ && mkdir -p ~/.config/nvim
cp -r init.lua ~/.config/nvim && cp -r lua ~/.config/nvim
#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do