1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-18 20:10:03 +02:00

move symlink.sh to install.sh

This commit is contained in:
Henrik Hautakoski 2024-05-31 15:39:51 +02:00
parent e8d1b84519
commit 4e3a280578

View file

@ -1,25 +0,0 @@
#!/bin/bash
BASE_PATH=$(dirname $(readlink -f $BASH_SOURCE))
DIRECTORIES=(
nvim
fish
alacritty
i3
i3status
rofi
smartgit
lazygit
)
for target in ${DIRECTORIES[@]}; do
ln -sfr -t $HOME/.config $BASE_PATH/$target
done
ln -sfr $BASE_PATH/tmux.conf $HOME/.tmux.conf
ln -sfr $BASE_PATH/Xresources $HOME/.Xresources
for script in $(find $BASE_PATH/scripts -type f); do
ln -sfr $script $HOME/bin/$(basename $script)
done