From 188d150ce8261659a847b9f6bf92b19b92a09cc7 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Sun, 2 Aug 2020 09:52:17 +0200 Subject: [PATCH] removed " from dotf command --- bin/initDesktop | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/initDesktop b/bin/initDesktop index 67e90dc..b90cd45 100755 --- a/bin/initDesktop +++ b/bin/initDesktop @@ -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(){