Update README and install script for github

This commit is contained in:
2024-09-15 21:14:04 +02:00
parent 24f1bd17ad
commit ee1c82ece8
2 changed files with 3 additions and 3 deletions

View File

@@ -8,12 +8,12 @@ My dotfiles. If you want to use them fork or clone the repo. Each branch has spe
## Install ## Install
`curl https://git.namesny.com/Mathis/dotfiles/raw/branch/main/install.sh | zsh -s -- <branch name>` `curl https://raw.githubusercontent.com/LordMathis/dotfiles/main/install.zsh | zsh -s -- <branch name>`
## Manual install ## Manual install
* `echo ".dotfiles" >> .gitignore` * `echo ".dotfiles" >> .gitignore`
* `git clone --bare git@git.namesny.com:Mathis/dotfiles.git $HOME/.dotfiles` * `git clone --bare git@github.com:LordMathis/dotfiles.git $HOME/.dotfiles`
* `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'` * `alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`
* `config checkout <branch-name>` * `config checkout <branch-name>`
* `config submodule init` * `config submodule init`

View File

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