Update 'install.sh'

This commit is contained in:
Mathis 2023-02-08 20:41:05 +00:00
parent 0d4d2de665
commit fee835708f
1 changed files with 5 additions and 5 deletions

View File

@ -7,9 +7,9 @@ if [ $# -eq 0 ]
fi
echo ".dotfiles" >> $HOME/.gitignore
git clone --bare https://git.namesny.com/Mathis/dotfiles.git $HOME/.dotfiles &&
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' &&
config checkout $1 &&
config submodule init &&
config submodule update &&
git clone --bare https://git.namesny.com/Mathis/dotfiles.git $HOME/.dotfiles
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config checkout $1
config submodule init
config submodule update
source .zshrc