From 495333ff6b526e13e1d958d626302e03d1ddad4c Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Sun, 28 Jun 2020 07:07:02 +0300 Subject: [PATCH] Adding script for easy linking --- link.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 link.sh diff --git a/link.sh b/link.sh new file mode 100755 index 0000000..08eb440 --- /dev/null +++ b/link.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +folders=($(ls ${PWD}/config)) + +for folder in "${folders[@]}"; do + ln -sf ${PWD}/config/${folder} ${HOME}/.config/ +done