From 7b59518acebb596775220e79f337ed6bac686b54 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Mon, 16 Mar 2020 11:29:15 -0300 Subject: Added my information to my config --- .install-dotfiles.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to '.install-dotfiles.sh') diff --git a/.install-dotfiles.sh b/.install-dotfiles.sh index e69bfc56..dbdab1fe 100644 --- a/.install-dotfiles.sh +++ b/.install-dotfiles.sh @@ -1,3 +1,9 @@ +# +# | '__/ _ \ / _` / __| Roger González +# | | | (_) | (_| \__ \ https://rogs.me +# |_| \___/ \__, |___/ https://git.rogs.me +# |___/ +# git clone --bare https://git.rogs.me/me/dotfiles.git $HOME/.cfg function config { /usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME $@ @@ -5,10 +11,10 @@ function config { mkdir -p .config-backup config checkout if [ $? = 0 ]; then - echo "Checked out config."; - else - echo "Backing up pre-existing dot files."; - config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{} +echo "Checked out config."; +else + echo "Backing up pre-existing dot files."; + config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | xargs -I{} mv {} .config-backup/{} fi; config checkout config config status.showUntrackedFiles no -- cgit v1.2.3