mirror of
https://github.com/pnx/dotfiles
synced 2026-06-17 19:40:02 +02:00
move symlink.sh to install.sh
This commit is contained in:
parent
e8d1b84519
commit
4e3a280578
1 changed files with 0 additions and 0 deletions
25
install.sh
Executable file
25
install.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue