The terminal of the mac is not started properly.

Asked 2 years ago, Updated 2 years ago, 41 views

Launch terminal on mac

Last login:Tue Apr 14 11:45:32 ontys000
-bash:/usr/local/src/ansable/hacking/env-setup —No such file or directory
localhost:~hogehoge$

It is said that every time.
Also, the hostname has been rewritten to localhost for some reason.
(The computer name was set, and it was reflected well before.)

Does anyone know how to solve this problem?

macos

2022-09-30 20:17

1 Answers

The reason was source/usr/local/src/ansible/hacking/env-setup in through/.bash_profile.
The hostname was fixed with sudo script --set HostName hoge.local.


2022-09-30 20:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.