Files
dotfiles/install/10-git.sh
Andrejus 549d6ce88d Merge branch 'install' of https://github.com/andrejusk/dotfiles
Clean scripts, remove sudo requirement

Add python dependencies

Correctly symlink and add poetry

Update make clean

Add python2 to dependencies

Fix pyenv install

Use pyenv to install python

Update .gitignore

Install git and keybase
2020-02-26 14:47:36 +00:00

15 lines
348 B
Bash

#!/bin/bash
#
# After running this script:
# 1. git dotfiles are symlinked
#
# 1. git dotfiles are symlinked
target="$HOME"
for file in $(ls -d $script_dir/git/*); do
rel_path=$(realpath --relative-to="$target" "$file")
printf "Linking $file to $target as $rel_path...\n"
ln -sv $rel_path $target
done
printf "git dotfiles linked\n"