Skip to content

dotfiles for primarily linux and mac machines

Notifications You must be signed in to change notification settings

rzauls/dotfiles

Repository files navigation

Dotfiles

Dotfile storage/repository.

  • There is a very low chance that any kind of support will be provided if someone (who is not me) wants to use these files.
  • This has no guarantee to work on any other systems than my own, and even then it can be hit or miss.
  • This technically works on WSL/Windows, but primarily is used on Ubuntu.

Usage

  • Install GNU stow (and optionally install just to run the Justfile https://github.com/casey/just)
  • Clone this repository
  • Run just stow OR manually stow relative to your home directory

Why

  • Using stow makes me not have to worry about where the files should be linked to
  • Using this repo enables me to share configuration between devices

Notes

Wezterm config on Windows

Since stow doesnt work on Windows and wezterm config is required to be outside of WSL, I have to symlink from Win to WSL filesystem in powershell like this:

# source: https://stackoverflow.com/a/76181147
New-Item -ItemType SymbolicLink -Path "C:\Users\<user>\.wezterm.lua" -Target "\\wsl$\Ubuntu\home\<user>\projects\dotfiles\wezterm\.config\wezterm\wezterm.lua"

Since wezterm cli isnt available on WSL, to make wezterm/nvim shared keybinds (pane/split navigation) work, I symlinked the windows executable to WSL like this:

ln -s /mnt/c/Program\ Files/WezTerm/wezterm.exe /usr/local/bin/wezterm

About

dotfiles for primarily linux and mac machines

Topics

Resources

Stars

Watchers

Forks