Desktop/_scripts/dotfiles.sh

17 lines
316 B
Bash
Raw Normal View History

2022-11-22 23:14:27 +01:00
#!/bin/bash
echo Installing dotfiles...
# Get current directory
wd=$(dirname -- $(dirname -- $( readlink -f -- $0; ); );)
# Bash
ln -sf $wd/bash/.bash_logout $HOME/
ln -sf $wd/bash/.profile $HOME/
ln -sf $wd/bash/.bashrc $HOME/
# Etc
ln -sf $wd/etc/.selected_editor $HOME/
# Git
ln -sf $wd/git/.gitconfig $HOME/