summaryrefslogtreecommitdiff
path: root/copy-all.sh
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2024-11-03 06:35:44 +0100
committernavewindre <boneyaard@gmail.com>2024-11-03 06:35:44 +0100
commit819183e3c471b2325a924081dbe10fd6c73ec2a7 (patch)
tree35641a19db003506a1464c61e822b7558bfca112 /copy-all.sh
parent113dbbcd147c2bf5315f5c171eb719effa406bd1 (diff)
update cfg script
Diffstat (limited to 'copy-all.sh')
-rw-r--r--copy-all.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/copy-all.sh b/copy-all.sh
new file mode 100644
index 0000000..82199c3
--- /dev/null
+++ b/copy-all.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+echo "WARNING: this will overwrite the config"
+read -p "are you sure? (y/n): " answer
+if [ "$answer" != "y" ]; then
+ echo "Aborting."
+ exit 1
+fi
+
+cp -r ./config/* ~/.config/
+cp -r ./icons/* ~/.icons/
+cp -r ./themes/* ~/.themes/
+cp ./vimrc ~/.vimrc
+cp ./zshrc ~/.zshrc