Skip to content

Stackjaeger/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linux (WSL)

Configurar Bash y .dotfiles

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/fish

Instalar stow

homebrew install stow

Copiar 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 --adopt

Windows

Configurar PowerShell

Instalar desde la tienda la app PowerShell y ejecutar el comando.

$PROFILE

Para 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 

About

Archivos de configuración .dot files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published