0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Powershell で、Linux と同じことが気軽にできるように環境構築

Last updated at Posted at 2019-11-16

普段 Linux を使っているのですが、だんだん windows を使うことが多くなりました。そこで、Linux (Ubuntu) でおこなっていることが、powershell でも 気軽にできるように自分なりに設定してみました。

環境

  • Windows 10 64bit
  • powershell 5.x

原則 方針 Documents に全部おく

  • デスクトップを簡素化するため( app と share のみ)
  • ls のエイリアスは、linux にする(やっている人がいたらラッキー)
  • ドキュメント以下は、bin,note(jupyter notebook),project(いろいろいれる)
  • path を、bin に通す
$oldSystemPath = [System.Environment]::GetEnvironmentVariable("Path", "User")
$oldSystemPath += ";C:%USERPROFILE%\Documents\bin"
  • Desktop は、app( アプリケーションのショートカット) share ( ネットワークで共有 )
  • C: 直下は、\work ( スケジュールタスクなどいれておく) \tmp (Linux の tmp のつもり)

インストール ( powershell、vs code, jupyterを普段使いする前提)

  • VS code インストール
  • git for windows
  • 環境変数 LESSCHARSET に utf-8 を設定 git log の文字化け回避
0
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?