An open API service indexing awesome lists of open source software.

https://github.com/agarie/rc

My dotfiles
https://github.com/agarie/rc

dotfiles git lua neovim vim zsh

Last synced: 3 months ago
JSON representation

My dotfiles

Awesome Lists containing this project

README

          

# agarie's dotfiles

This repository has two purposes:

1. To have all my dotfiles in one place
2. Forcefully organize this mess

## A word of warning

Feel free to take inspiration from anything in this repository, but keep in
mind this is made to work with my current setup, so it might need some
tweaking. You can open an issue if you have suggestions and/or questions and
I'll try to help if I can.

## Linux

I started using MacOS exclusively for development recently, so I decided it was
best to remove configuration files related to X and other software I only use
on Linux. In case you (or myself, in the future) wants to see those files,
check commit 81f44a7.

I am also doing some work on Windows via the WSL. It's mostly small edits to my
personal knowledge base and running short experiments. I'm still not sure how
to feel about it, so there isn't anything Windows-specific here; not sure if
that will change or not.

## Installation

Install a formatter for Racket so you can use the formatting command `gq` in vim:

```sh
raco pkg install fmt
```

The LSPs for nvim can be installed via
[Mason](https://github.com/mason-org/mason.nvim) by opening the TUI with
`:Mason` and selecting the ones being used (refer to the `LSP` section in the
`init.lua` file). It's better to install `solargraph` manually if you work with
multiple Ruby versions.

## Z shell

I try to split my Z Shell configuration between the recommended files:

* `.zshenv`: is always sourced and contains `PATH` and other variables that should be set for all types of shells.
* `.zshrc`: is sourced in interactive shells, so scripts using a zsh shebang don't have access to anything defined here.

I also keep a machine-specific `~/.zlocal` file (not on git) that is sourced at the end of `.zshrc`.