Help us understand the problem. What is going on with this article?

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

More than 1 year has passed since last update.

はじめに

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

https://github.com/robbyrussell/oh-my-zsh/wiki/Installing-ZSH

oh-my-zsh

https://github.com/robbyrussell/oh-my-zsh

zgen

https://github.com/tarjoilija/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

https://github.com/zsh-users/zsh-history-substring-search

tmux

https://qiita.com/1000k/items/dedb38e8a959dee40cc3

tmux plugin

https://github.com/tmux-plugins/tpm

tmux-resurrect

https://github.com/tmux-plugins/tmux-resurrect

tmux-continuum

https://github.com/tmux-plugins/tmux-continuum

tmux-urlview

https://github.com/tmux-plugins/tmux-urlview

tmux-yank

https://github.com/tmux-plugins/tmux-yank

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした