LoginSignup
0
0

More than 5 years have passed since last update.

ログインシェルの変更

Posted at

背景

.bashrcでPATHを通し、Pythonのデフォルト使用をPython3に設定しているにもかかわらず
ターミナルを開き直すとPython2に戻っていることがあった。

原因

ログインシェルが、bashではなく、zshに変わっていた

変更方法

$ chsh -s 変更したいログインシェル



$ chsh -s /bin/bash

0
0
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
0