my-env/install/999-dotfiles.sh

16 lines
493 B
Bash
Raw Normal View History

#!/bin/bash
2022-01-09 09:14:15 +00:00
echo
echo "==============================================="
echo "Installing dotfiles..."
echo "==============================================="
echo
2022-01-09 09:14:15 +00:00
ENVDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
DOTFILESDIR="$ENVDIR"/dotfiles
cp $DOTFILESDIR/.bash_aliases $HOME/.bash_aliases
cp $DOTFILESDIR/.bashrc $HOME/.bashrc
cp $DOTFILESDIR/.zshrc $HOME/.zshrc
cp $DOTFILESDIR/.gitconfig $HOME/.gitconfig
cp -R $DOTFILESDIR/Шаблоны $HOME/Шаблоны