add bootstrap that symlinks configs
This commit is contained in:
7
bootstrap.sh
Normal file
7
bootstrap.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -eu
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
[ -f .env ] && . ./.env
|
||||||
|
for f in shell/bashrc editor/vimrc; do
|
||||||
|
ln -sf "$PWD/$f" "$HOME/.$(basename "$f")"
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user