From 43d96a7a3d930558a6850fc18bbdc2fcf117da0d Mon Sep 17 00:00:00 2001 From: Petr Nyc Date: Fri, 8 Nov 2024 15:59:26 +0100 Subject: [PATCH] bootstrap take 2 --- bootstrap.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 5cd2df9..9606cfe 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,12 +42,9 @@ install_packages() { clone_repos () { git clone --bare https://git.meinlschmidt.org/jetpac/dotfiles.git ~/.cfg - cd ~/.cfg # alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' - git config --local status.showUntrackedFiles no - cd $HOME - rm .zshrc - git checkout --git-dir=$HOME/.cfg --work-tree=$HOME + git --git-dir=$HOME/.cfg config --local status.showUntrackedFiles no + git --git-dir=$HOME/.cfg --work-tree=$HOME checkout # install oh-my-zsh