LoginSignup
2
1

More than 5 years have passed since last update.

Windowsでの開発をより快適に!! Bash shellを入れてみた!!

Last updated at Posted at 2018-05-24

はじめに

Windowsのターミナルって使いにくくね?

Bash shellの導入

ターミナルがないと何もできないから、入れていたけど、さすがに不満を覚えてきたぞPowershllよ。
今まで世話になったな。
これからはBash shellを使わせてもらおうではないか。

導入の仕方はこのサイト通りにどうぞ。
Windows Subsystem for Linuxをインストールしてみよう!

Ubuntuを起動してから実行するまでに時間かかるため、Ctrl+Cで中止しないように!!

使いやすくするために

アップデート

$ sudo apt update
$ sudo apt upgrade

$ sudo apt upgradeを実行しなければ、アップグレードされないため注意。

日本語環境の導入

$ locale -a
#ja_JP.tf8があるかを確認。なければ以下のコマンドを入力
$ sudo apt-get install -y language-pack-ja
$ sudo update-locale LANG=ja_JP.UTF8
$ exit
#Ubuntu再起動
$ lacale
#LANG=ja_JP.UTF-8になっているか確認。

Vim

$ sudo apt install vim-nox
$ vimtutor
#vimのチュートリアル起動

git

$ sudo apt install git
$ git --version

以下は各自環境に合わせて導入をしてみては。
一応、この順番がオススメ。

zsh

oh-my-zsh

zgen

zsh-users/zsh-syntax-highlighting

https://github.com/zsh-users/zsh-syntax-highlighting
https://wonderwall.hatenablog.com/entry/2016/06/25/205033

zsh-users/zsh-history-substring-search

tmux

tmux plugin

tmux-resurrect

tmux-continuum

tmux-urlview

tmux-yank

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1