This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/misc/git/link.bash
2016-07-29 11:14:33 -05:00

9 lines
195 B
Bash
Executable file

#!/usr/bin/env bash
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source "$DIR/variables.bash"
rm -f "$HOME/.gitconfig"
ln -s "$DOTFILES_PATH/misc/git/gitconfig" "$HOME/.gitconfig"