mirror of
https://github.com/pnx/dotfiles
synced 2026-08-16 08:58:11 +02:00
adding symlink.sh
This commit is contained in:
parent
826860eb0e
commit
9523ecf1e3
1 changed files with 16 additions and 0 deletions
16
symlink.sh
Executable file
16
symlink.sh
Executable 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue