Instalar Homebrew.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Instalar Fish.
which fish
echo /path/to/fish | sudo tee -a /etc/shells
chsh -s /path/to/fishInstalar stow
homebrew install stowCopiar el repositorio local preferiblemente en el $HOME/.dotfiles En caso de estar en WSL agregar el symlink y poner la carpeta .dotfiles en C:
ln -s /mnt/c/.dotfiles ~/Ejecutar stow para crear los enlaces simbolicos
cd ~/.dotfiles
stow -t ~ linux #en caso de error agregar --adopt
stow -t ~ comun #en caso de error agregar --adoptInstalar desde la tienda la app PowerShell y ejecutar el comando.
$PROFILEPara tener la ruta del archivos y crear el acceso directo con el comando.
#Si existe utilizar
Remove-Item -Path $($env:USERPROFILE)\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
Remove-Item -Path $($env:USERPROFILE)\.config\fastfetch\config.jsonc
Remove-Item -Path $($env:USERPROFILE)\.gitconfig
#Si no existe directamente hacer el link
New-Item -ItemType SymbolicLink -Path "$($env:USERPROFILE)\.config\fastfetch\config.jsonc" -Value "C:\.dotfiles\linux\.config\fastfetch\config.jsonc"
New-Item -ItemType SymbolicLink -Path $PROFILE -Target "C:\.dotfiles\windows\Microsoft.PowerShell_profile.ps1"
New-Item -ItemType SymbolicLink -Path "$($env:USERPROFILE)\.gitconfig" -Value "C:\.dotfiles\comun\.gitconfig"
#Quiza requiera ejecutarse como administrador
start-Process powershell -Verb runas