cleanup install script and hide bad which output

pull/1/head
Andrew Coleman 2019-01-22 09:12:25 -05:00
parent 67a1853771
commit e9e2d51b9d
1 changed files with 2 additions and 2 deletions

4
bin/install-dotfiles.sh Executable file → Normal file
View File

@ -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