1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

adding symlink.sh

This commit is contained in:
Henrik Hautakoski 2024-02-24 17:12:14 +01:00
parent 826860eb0e
commit 9523ecf1e3

16
symlink.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
BASE_PATH=$(dirname $(readlink -f $BASH_SOURCE))
DIRECTORIES=(
fish
kitty
i3
i3status
rofi
smartgit
)
for target in ${DIRECTORIES[@]}; do
ln -sfr -t $HOME/.config $BASE_PATH/$target
done