Files
dotfiles/install.sh
2023-01-14 16:08:01 +01:00

12 lines
377 B
Bash
Executable File

#!/bin/sh
# ensure_installed:
DOTFILES_REPO="https://github.com/uttarayan21/dotfiles"
INSTALLED="$HOME/.local/share/dotfiles"
git clone "$DOTFILES_REPO" "$INSTALLED"
for file in $(ls -1 $INSTALLED/config); do
# echo "$INSTALLED/config/$(basename file)" $HOME/config/$(basename $file)
ln -s "$INSTALLED/config/$(basename $file)" "$HOME/.config/$(basename $file)"
done