diff --git a/bin/install-dotfiles.sh b/bin/install-dotfiles.sh old mode 100755 new mode 100644 index c02c7f5..6f28182 --- a/bin/install-dotfiles.sh +++ b/bin/install-dotfiles.sh @@ -1,6 +1,6 @@ #!/bin/sh #Initialization script sourced from Atlassian: https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/ -git clone --bare git@git.penguincoder.org:2222/penguincoder/dotfiles.git +git clone --bare ssh://git@git.penguincoder.org:2222/penguincoder/dotfiles.git function config { /usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME $@ } @@ -17,4 +17,4 @@ config config status.showUntrackedFiles no config push --set-upstream origin master config submodule init config submodule update -which fc-cache && fc-cache -f -v ~/.fonts || true +which fc-cache 2>/dev/null && fc-cache -f -v ~/.fonts || true