summaryrefslogtreecommitdiff
path: root/copy-all.sh
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2025-07-13 02:43:23 +0200
committernavewindre <boneyaard@gmail.com>2025-07-13 02:43:23 +0200
commit144cd826d6a2bb9365f379eeb8a909270398d662 (patch)
tree344b9d43dda930cc10bbc18c8f0f61191a0064ae /copy-all.sh
parent1c18f77d60ed2ff21dd61b5d792bfa51e469fe38 (diff)
p
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