fuzzix dot org

Intgrating Alacritty with Clink

24 May 2021

To my shame, I still haven't learned PowerShell... I still use CMD.EXE with the Readline features provided by Clink, along with a bunch of GNU tools in my path.

Integrating Clink into the Alacritty terminal emulator wasn't immediately obvious, so here'e my solution. Open %APPDATA%\alacritty\alacritty.yml, find the shell section and set it to:

shell:
  program: cmd
    args:
        - /k ""C:\Program Files (x86)\clink\0.4.9\clink_x64.exe" inject --profile %LOCALAPPDATA%\clink\"