removed " from dotf command

This commit is contained in:
Jonas Forsberg 2020-08-02 09:52:17 +02:00
parent 4e38646193
commit 188d150ce8
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -57,7 +57,7 @@ function gnome_key_bindings(){
}
function setup_dotfiles(){
local dotf="/usr/bin/git --git-dir=$DOTFILES_REPO --work-tree=$HOME"
local dotf="git --git-dir=$DOTFILES_REPO --work-tree=$HOME"
new_log "Setting up dotf (dotfiles)"
if asktobreak;then
return
@ -65,10 +65,10 @@ function setup_dotfiles(){
log "creating git repo in $DOTFILES_REPO"
mkdir "$HOME/.dotfiles"
git init --bare "$DOTFILES_REPO"
"$dotf" config --local status.showUntrackedFiles no
$dotf config --local status.showUntrackedFiles no
log "adding remote repo ($DOTFILES_REMOTE)"
"$dotf" remote add origin "$DOTFILES_REMOTE"
$dotf remote add origin "$DOTFILES_REMOTE"
for file in "${DOTFILES_RENAME_EXISTING_FILES[@]}"; do
@ -80,8 +80,8 @@ function setup_dotfiles(){
done
log "fetching dotfiles"
"$dotf" fetch origin
"$dotf" checkout master
$dotf fetch origin
$dotf checkout master
}
function do_salt_call(){