Skip to content

TymekDev/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TymekDev's dotfiles

Hey 👋 This repo holds config files for the tools that I use. The list of tools can be found in Brewfile.

Explore, get inspired, and beware, because here be dragons! If you have any questions feel free to reach out to me at [email protected], enjoy!

Setup

Caution

I haven't tried the MacOS setup on a clean OS yet.

MacOS

  1. Run:
    xcode-select --install
  2. Install brew:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  3. Clone the repo:
    git clone https://github.com/TymekDev/dotfiles ~/personal/dotfiles
    git -C ~/personal/dotfiles remote set-url origin [email protected]:TymekDev/dotfiles
  4. Symlink config files:
    make --directory ~/personal/dotfiles restow
    • ⚠️ Make sure that ~/.config/karabiner is a symlink (details)
  5. Install programs:
    /opt/homebrew/bin/brew bundle --file ~/personal/dotfiles/Brewfile install
    /opt/homebrew/bin/bob use stable # installs Neovim
  6. Configure fish:
    echo "/opt/homebrew/bin/fish" | sudo tee -a /etc/shells
    chsh -s /opt/homebrew/bin/fish
  7. Install WezTerm terminfo:
    tempfile=$(mktemp) \
      && curl -o $tempfile https://raw.githubusercontent.com/wez/wezterm/master/termwiz/data/wezterm.terminfo \
      && tic -x -o ~/.terminfo $tempfile \
      && rm $tempfile
  8. Open WezTerm—it should start fish and have $PATH properly set up
  9. Start Neovim and install its plugins via :Lazy
  10. Install by hand:
  11. Disable Firefox title bar
  12. Add the following snippet at the very bottom of ~/.ssh/config:
    Host *
      IdentityAgent "SSH_AUTH_SOCK"
    
  13. Install Neovim spell files

WSL

  1. Install WezTerm (on Windows)
  2. Install WSL
    1. Open PowerShell
    2. Run wsl --list --online for the list of available distros
    3. Install the distro wsl --install -d <distro>, e.g. wsl --install -d Ubuntu-24.04
    4. Restart Windows
  3. After Windows boots up:
    1. Set a UNIX username and password up
    2. Run: sudo apt-get update
    3. Run: sudo apt-get upgrade
  4. If necessary, carry certificates over from Windows (see Fixing WSL Certificates)
  5. Install brew:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  6. Clone the repo:
    git clone https://github.com/TymekDev/dotfiles ~/personal/dotfiles
    git -C ~/personal/dotfiles remote set-url origin [email protected]:TymekDev/dotfiles
  7. Symlink config files:
    make --directory ~/personal/dotfiles restow
  8. Install programs:
    /home/linuxbrew/.linuxbrew/bin/brew bundle --file ~/personal/dotfiles/Brewfile install
    /home/linuxbrew/.linuxbrew/bin/bob use stable # installs Neovim
  9. Configure fish:
    echo "/home/linuxbrew/.linuxbrew/bin/fish" | sudo tee -a /etc/shells
    chsh -s /home/linuxbrew/.linuxbrew/bin/fish
  10. Install WezTerm terminfo:
    tempfile=$(mktemp) \
      && curl -o $tempfile https://raw.githubusercontent.com/wez/wezterm/master/termwiz/data/wezterm.terminfo \
      && tic -x -o ~/.terminfo $tempfile \
      && rm $tempfile
  11. rsync the WezTerm config to the Windows host:
    rsync --delete-after --mkpath --recursive --verbose \
      config/wezterm/ \
      $(wslpath $(cmd.exe /C "echo %USERPROFILE%" 2>/dev/null | tr -d "\r"))/.config/wezterm
  12. Open WezTerm—it should start fish inside WSL and have $PATH properly set up
  13. Start Neovim and install its plugins via :Lazy

Notable Commits in History

Starting with the oldest:

  • Commit deleting unused configs: (b9d3554) chore: remove unused configs
  • Commit removing home-manager: (2d5d745) refactor: purge home-manager and Nix
  • Commit adding setup automation using make: (7ac8ddf) Merge branch 'make-magic'
  • Commit switching from packer.nvim to lazy.nvim: (1ad9d73) Merge pull request #8 from TymekDev/lazy.nvim
  • Commit replacing the make-based setup with a Brewfile: (fa64d51) refactor: use Brewfile

Known Issues

  • Karabiner does not really work for porting. Another Mac's keyboard has a different identifier?

License

Disclaimer: I am not an author of the image at local/share/wallpaper.webp and I do not claim any rights to it.

MIT License

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks