terminal + ubuntu on wsl + fishのインストール

Table of Contents

1 Windows Subsystem for Linuxをインストールしてみよう!

  • sudo sed -i -e 's%http://.*.ubuntu.com%http://ftp.jaist.ac.jp/pub/Linux%g' /etc/apt/sources.list

2 terminal

  • Microsoft Store からインストール
  • settingsはfishの解説を参照.

3 fish

4 以下はおまけ

4.1 brew

$ sudo apt-get install build-essential
$ echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/bob/.profile
$  eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
$  brew install gcc

4.2 terminal_profiles

  • profiles.json Documentation
  • colorScheme, cursorShape
  • terminalはwin10がわのそふとなんで,wslでいれてもだめで,
  • powerlineのinstallで
  • 右クリックon Surface Pro keyboard, 長押し
"colorScheme": "Solarized Light",
"cursorShape" : "filledBox",
"cursorColor" : "#aaaaaa"
  • emacsでctrl-v,cがかぶっているので,alt-keyにくっつける
"keybindings": [{
"command": "copy",
"keys":["alt+c"]
},
{
"command": "paste",
"keys":["alt+v"]
}]

Author: Shigeto R. Nishitani

Created: 2020-04-22 水 12:30

Validate