Skip to content

CCheminaud/dotfiles

Repository files navigation

dotfiles

These are all my dotfiles that I use everyday. Feel free to take what you want, but at your own risk.

It mainly target macOS system.

Highlights

  • Shell configuration for Nushell, Fish and Zsh
  • Fast and colored prompt with Starship
  • Git configuration, aliases...
  • Vim ready for use (using AstroNvim)
  • Keeping the system up to date with Topgrade
  • Some system command alternatives (bottom, eza)
  • Everything is managed by yadm

Getting started

Clone this repository using yadm.

yadm clone https://github.com/CCheminaud/dotfiles.git
yadm status

The clone command will attempt to check out all files that exist in the repository. If a file already exists locally and has content that differs from the one in the repository, the local file will be left unmodified and you’ll have to review and resolve the differences.

Fish

Install the required packages with Homebrew.

brew install fish fisher

Then start a new session with Fish and proceed with plugin installation.
If needed, a private configuration file can be created too.

fisher update
touch ~/.config/fish/config.private.fish

AstroNvim

Backup the current configuration and internal folders.

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak

Then, clone the repository and launch nvim.

git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
nvim