My .files optimized for personal needs
Install GNU stow utility:
sudo apt-get install stowbrew install stowsudo pkg_add stowClone this repo into ~/.dotfiles folder:
mkdir ~/.dotfiles
cd ~/.dotfiles
git clone https://github.com/nafigator/dotfiles.git .Backup your previous dotfiles:
cd && mkdir .dotfiles.bkp
mv .profile .bashrc .bash_aliases .bash_logout .gitconfig .gitignore .dotfiles.bkpThen use stow utility to create symlinks:
stow bash
stow git
. ~/.profilecd ssh/.ssh
# gpg --output config.gpg --encrypt --recipient <email> config
gpg -o config.gpg -e -r <email> config
git commit && git pushgit pull
cd ssh/.ssh
# gpg --output config --decrypt config.gpg
gpg -o config -d config.gpggit update-index --assume-unchanged mc/.config/mc/ini