Skip to content

RichardFevrier/dotfiles

Repository files navigation

Dotfiles

Dotfiles Manager

Chezmoi

$ chezmoi init --apply RichardFevrier
$ chezmoi update -v

App manager

App

$ app -m brew install ...
$ app -r brew

Font

Fira Code (files included for linux and macOS)

Terminal

Wezterm

Unix shell

Fish

Change default shell

Linux
$ sudo usermod --shell $(which fish) $(whoami)
macOS
$ sudo dscl . -create /Users/$(whoami) UserShell $(which fish)

Shell prompt

Starship (Nerd Font already provided by Wezterm)

File Manager

Yazi

ya pack -a/u ...
  • yazi-rs/plugins:max-preview
  • KKV9/compress

Text Editor

Micro

Do the following if you see a different configuration when using sudo micro ... (usually means that $HOME env var is different between root and non-root users):

$ sudo visudo
Defaults    env_keep += "MICRO_CONFIG_HOME"

Plugins

$ micro -plugin install/update ...
  • fzfinder
  • lsp
  • quoter
  • urlopen
  • wc
  • yazi

Git Manager

Lazygit

Cat replacement

Bat

Find replacement

Fd

Fuzzy Finder

Fzf

Tips

Ctrl+R to fuzzy the commands history

Ls replacement

Eza

Keyboard layout

Qwerty-Lafayette (files included for linux and macOS)

Tips

To fix inverted keys e.g: @/# -> </>

Linux

Create /etc/udev/hwdb.d/60-keyboard-logitech-craft.hwdb (use evtest to find the right keys)

evdev:name:*Craft*:*
    KEYBOARD_KEY_70064=grave
    KEYBOARD_KEY_70035=102n

Then $ sudo systemd-hwdb update and $ sudo udevadm trigger

macOS

Use Karabiner-Elements (config included)

Desktop Environment (Linux)

Niri

Releases

No releases published

Packages

No packages published

Languages