Open2

chromebookでの開発環境セットアップ

やまぴーやまぴー

crostiniでNerd Fontを使う

  1. crostiniでctrl + shift + jで開発者ツールを開く
  2. コンソールで以下をコピペする
term_.prefs_.set('font-family', 'JetBrains Mono Nerd Font, monospace');
term_.prefs_.set('user-css-text', '@font-face {font-family: "JetBrains Mono Nerd Font"; src: url("https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/JetBrainsMono/NoLigatures/Regular/JetBrainsMonoNLNerdFontMono-Regular.ttf"); font-weight: normal; font-style: normal;} x-row {text-rendering: optimizeLegibility;font-variant-ligatures: normal;}')

raw.githubusercontent.comのURLの取得は場合によってはブラウザの開発者ツールのネットワークを開かないとわからないかも

参考

https://gist.github.com/izzqz/af36c5bbde67ffff0f7614cf738d75a5