removed " from dotf command
This commit is contained in:
parent
4e38646193
commit
188d150ce8
@ -57,7 +57,7 @@ function gnome_key_bindings(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setup_dotfiles(){
|
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)"
|
new_log "Setting up dotf (dotfiles)"
|
||||||
if asktobreak;then
|
if asktobreak;then
|
||||||
return
|
return
|
||||||
@ -65,10 +65,10 @@ function setup_dotfiles(){
|
|||||||
log "creating git repo in $DOTFILES_REPO"
|
log "creating git repo in $DOTFILES_REPO"
|
||||||
mkdir "$HOME/.dotfiles"
|
mkdir "$HOME/.dotfiles"
|
||||||
git init --bare "$DOTFILES_REPO"
|
git init --bare "$DOTFILES_REPO"
|
||||||
"$dotf" config --local status.showUntrackedFiles no
|
$dotf config --local status.showUntrackedFiles no
|
||||||
|
|
||||||
log "adding remote repo ($DOTFILES_REMOTE)"
|
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
|
for file in "${DOTFILES_RENAME_EXISTING_FILES[@]}"; do
|
||||||
@ -80,8 +80,8 @@ function setup_dotfiles(){
|
|||||||
done
|
done
|
||||||
|
|
||||||
log "fetching dotfiles"
|
log "fetching dotfiles"
|
||||||
"$dotf" fetch origin
|
$dotf fetch origin
|
||||||
"$dotf" checkout master
|
$dotf checkout master
|
||||||
}
|
}
|
||||||
|
|
||||||
function do_salt_call(){
|
function do_salt_call(){
|
||||||
|
Loading…
Reference in New Issue
Block a user