Last login: Mon Jan 20 01:28:13 on ttys000
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
hogehoge-no-MacBook-Air:~ hogehoge$
hogehoge-no-MacBook-Air:~ hogehoge$
hogehoge-no-MacBook-Air:~ hogehoge$
hogehoge-no-MacBook-Air:~ hogehoge$
hogehoge-no-MacBook-Air:~ hogehoge$
hogehoge-no-MacBook-Air:~ hogehoge$
# Setting PATH for Python 3.8
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:${PATH}"
export PATH
export PS1="\W \$ "
~
~
~
~
~
~
:wq
設定反映コマンド
編集モードを終了した後は、最後に以下のコマンドで設定を反映させます。
source ~/.bash_profile
設定反映後の表示
再度ターミナルを立ち上げると以下のように長い表示の文字列がなくなっておりすっきりしました。
Last login: Mon Jan 20 01:29:05 on ttys000
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
~ $
~ $
~ $
~ $
~ $
~ $
コメント