17 lines
316 B
Bash
Executable file
17 lines
316 B
Bash
Executable file
#!/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/ |