Skip to content

RichardFevrier/dotfiles

Repository files navigation

Dotfiles

Dotfiles Manager

Chezmoi

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

Desktop Environment (Linux)

Niri

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)

Fuzzy Finder

Fzf

Tips

Ctrl+R to fuzzy the commands history

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

  • lsp
  • quoter
  • wc

Cat replacement

Bat

Find replacement

Fd

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)