dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 5577dc726ecf5907654ed1b2e838131ed5888a9a
parent 8311f70354381c5ef8acf5b1cd89b05778566453
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sat,  5 Oct 2019 08:10:21 -0400

my: Fix dotfiles update logic

Diffstat:
M.local/bin/my | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.local/bin/my b/.local/bin/my @@ -372,7 +372,10 @@ case $command in mv /tmp/dotfiles.tgz.$$ "$HOME/.dotfiles_tgz/dotfiles.tar.gz" cd "$HOME" tar xzf .dotfiles_tgz/dotfiles.tar.gz - cp -r dotfiles-master/.* . + for file in $(ls -A dotfiles-master) + do + cp -r dotfiles-master/$file . + done rm -rf dotfiles-master else rm /tmp/dotfiles.tgz.$$