[MEMO] [TERMINAL] HYPER + FiraCode

introduction

J'ai utilisé FiraCode dans le terminal même sous Linux

manière

Hyper

https://hyper.is/#installation

wget https://releases.hyper.is/download/deb
sudo dpkg -i package-x.x.x.deb

FiraCode

https://github.com/tonsky/FiraCode/wiki/Linux-instructions

sudo add-apt-repository universe
sudo apt install fonts-firacode
fc-list | grep fira
>
/usr/share/fonts/woff/firacode/FiraCode-Regular.woff: Fira Code:style=Regular
/usr/share/fonts/opentype/firacode/FiraCode-Retina.otf: Fira Code,Fira Code Retina:style=Retina,Regular
/usr/share/fonts/woff/firacode/FiraCode-Light.woff: Fira Code,Fira Code Light:style=Light,Regular
/usr/share/fonts/woff/firacode/FiraCode-Bold.woff: Fira Code:style=Bold
/usr/share/fonts/opentype/firacode/FiraCode-Bold.otf: Fira Code:style=Bold
/usr/share/fonts/opentype/firacode/FiraCode-Regular.otf: Fira Code:style=Regular
/usr/share/fonts/opentype/firacode/FiraCode-Medium.otf: Fira Code,Fira Code Medium:style=Medium,Regular
/usr/share/fonts/opentype/firacode/FiraCode-Light.otf: Fira Code,Fira Code Light:style=Light,Regular
/usr/share/fonts/woff/firacode/FiraCode-Medium.woff: Fira Code,Fira Code Medium:style=Medium,Regular

Réglage

~/.hypter.js


module.exports = {
  config: {
    // choose either `'stable'` for receiving highly polished,
    // or `'canary'` for less polished but more frequent updates
    updateChannel: 'stable',

    // default font size in pixels for all tabs
    fontSize: 12,

    // font family with optional fallbacks
    fontFamily: 'Fira Code, "Menlo", "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',

Recommended Posts

[MEMO] [TERMINAL] HYPER + FiraCode