Skip to content

Git Bashで常にWinptyを有効にする #14

@wf-yamaday

Description

@wf-yamaday

mysqlpythondocker execなどをする際に毎回winptyをつけるのは面倒である🤔

そこでGit Bashを起動する際に winpty bashとすることで対応する.

.bash_profileの用意

Git Bashを起動する.

touch ~/.bash_profile
vim ~/.bash_profile

以下の内容をコピペする.

# winpty
echo "Now setting: default winpty bash"
exec winpty bash

.bash_profileの再読み込み

source ~/.bash_profile

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationwindowswindowsに関連すること.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions