Untested instructions added to readme

This commit is contained in:
TheFlyingFool 2024-06-10 18:00:48 -05:00
parent 87511d9017
commit c91da48135

View File

@ -9,7 +9,7 @@ My dotfiles for both Arch Linux and Windows
```sh ```sh
git clone --bare gitea@git.theflyingfool.com:theflyingfool/dotfiles.git $HOME/.dot git clone --bare gitea@git.theflyingfool.com:theflyingfool/dotfiles.git $HOME/.dot
alias dot='/usr/bin/git --git-dir="$HOME/.dot/" --work-tree="$HOME"' alias dot='/usr/bin/git --git-dir="$HOME/.dot/" --work-tree="$HOME"'
dot checkout dot checkout -b Linux
dot config --local status.showUntrackedFiles no dot config --local status.showUntrackedFiles no
source ~/.zshrc source ~/.zshrc
``` ```
@ -46,7 +46,7 @@ if (!(Test-Path -Path $PROFILE)) {
} }
"`nfunction dot { & git --git-dir=`"$HOME/.dot/`" --work-tree=`"$HOME`" @args }" | Out-File -Append $PROFILE "`nfunction dot { & git --git-dir=`"$HOME/.dot/`" --work-tree=`"$HOME`" @args }" | Out-File -Append $PROFILE
. $PROFILE . $PROFILE
dot checkout dot checkout -b Windows
dot config --local status.showUntrackedFiles no dot config --local status.showUntrackedFiles no
"`n. `"$HOME/windows/Microsoft.PowerShell_profile.ps1`"" | Out-File -Append $PROFILE "`n. `"$HOME/windows/Microsoft.PowerShell_profile.ps1`"" | Out-File -Append $PROFILE
``` ```