summaryrefslogtreecommitdiff
path: root/copy-all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'copy-all.sh')
-rw-r--r--copy-all.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/copy-all.sh b/copy-all.sh
index 03b51ba..360bb0e 100644
--- a/copy-all.sh
+++ b/copy-all.sh
@@ -10,12 +10,12 @@ fi
mkdir -p ~/.config
mkdir -p ~/.icons
mkdir -p ~/.themes
-cp -rf ./config/ ~/.config
-cp -rf ./icons/ ~/.icons
-cp -rf ./themes/ ~/.themes
+find ./config/ -maxdepth 1 -exec cp -rf '{}' ~/.config/ \;
+find ./icons/ -maxdepth 1 -exec cp -rf '{}' ~/.icons/ \;
+find ./themes/ -maxdepth 1 -exec cp -rf '{}' ~/.themes/ \;
+find ./home/ -maxdepth 1 -exec cp -rf '{}' ~/ \;
+find ./bin/ -maxdepth 1 -exec cp -rf '{}' ~/.local/bin \;
mkdir -p ~/.local/bin/
-cp -rf ./bin ~/.local/bin/
-cp -f ./home/* ~/
cp -f ./vimrc ~/.vimrc
cp -f ./nvimrc ~/.nvimrc
cp -f ./zshrc ~/.zshrc