12 lines
389 B
Bash
Executable File
12 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# ensure_installed:
|
|
DOTFILES_REPO="https://github.com/uttarayan21/dotfiles"
|
|
INSTALLED="$HOME/.local/share/dotfiles"
|
|
git clone --recursive "$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
|