Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
avoid overriding stuff on autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Oct 20, 2016
1 parent bd5d8a7 commit aa81a0c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/dot_update
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ cd "$ZSH" || exit 1
# fixes PATH (we could be running from the crontab)
PATH="$(command -p getconf PATH):/usr/local/bin"

# load custom config if any
[[ -a ~/.localrc ]] && source ~/.localrc

# ssh would not work under cron, add a https one
echo "› setting up update channel"
git remote add updates https://github.com/caarlos0/dotfiles.git 2> /dev/null
Expand Down

0 comments on commit aa81a0c

Please sign in to comment.