Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更改home_java文件后,Bash(终端)停止工作并卡在";上次登录:……”;_Bash_Git_Git Bash - Fatal编程技术网

更改home_java文件后,Bash(终端)停止工作并卡在";上次登录:……”;

更改home_java文件后,Bash(终端)停止工作并卡在";上次登录:……”;,bash,git,git-bash,Bash,Git,Git Bash,我使用的是MacOS Catalina版本10.15.6。在我的bash终端工作正常之前。但是,当我安装Java JDK new和changebash profile file时,它停止工作,并在终端上显示以下结果: Last login: Thu Sep 17 17:13:24 on ttys000 //After long time it shows the following: [Process completed] 另一件事,命令行的标题似乎被打断了,一秒钟显示home_java

我使用的是MacOS Catalina版本10.15.6。在我的bash终端工作正常之前。但是,当我安装Java JDK new和change
bash profile file
时,它停止工作,并在终端上显示以下结果:

Last login: Thu Sep 17 17:13:24 on ttys000


//After long time it shows the following:
[Process completed]

另一件事,命令行的标题似乎被打断了,一秒钟显示home_java,另一秒钟显示Bash

由于这个问题,我不能再使用Bash了,我也不想恢复我的笔记本电脑,关于如何让Bash重新工作的任何建议