2023-01-10 08:50:53 +05:30
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
pushd /home/pratham
|
|
|
|
mkdir my-git-repos
|
|
|
|
pushd my-git-repos
|
|
|
|
|
2023-01-16 05:40:29 +05:30
|
|
|
################################################################################
|
|
|
|
# DOTFILE CLONING
|
|
|
|
################################################################################
|
|
|
|
|
2023-01-10 08:50:53 +05:30
|
|
|
git clone --depth 1 https://git.thefossguy.com/thefossguy/dotfiles.git
|
|
|
|
pushd dotfiles
|
|
|
|
tput -x clear
|
|
|
|
rsync \
|
|
|
|
--verbose --recursive --size-only --human-readable \
|
|
|
|
--progress --stats \
|
|
|
|
--itemize-changes --checksum --perms \
|
|
|
|
--exclude=".git" --exclude=".gitignore" --exclude="README.md" --exclude="run_me.sh" \
|
|
|
|
../dotfiles/ ~/
|
2023-01-21 18:39:31 +05:30
|
|
|
|
|
|
|
cp -v _OTHER/flameboi/etc/systemd/system/*.service /etc/systemd/system/
|
2023-01-10 08:50:53 +05:30
|
|
|
popd
|
|
|
|
rm -rf dotfiles
|
|
|
|
popd
|
2023-01-12 22:14:42 +05:30
|
|
|
|
2023-01-21 18:39:31 +05:30
|
|
|
|
2023-01-16 05:40:29 +05:30
|
|
|
################################################################################
|
|
|
|
# NEOVIM PLUGINS
|
|
|
|
################################################################################
|
|
|
|
|
2023-01-10 09:51:43 +05:30
|
|
|
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
|
|
|
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
2023-01-12 12:15:40 +05:30
|
|
|
nvim +'PlugInstall' +'q' +'q'
|
|
|
|
popd
|