为什么 gnu nano 在终端启动时不断打开 bashrc 文件?

为什么 gnu nano 在终端启动时不断打开 bashrc 文件?

每次我打开一个新终端。.bashrc 文件都会在 gnu nano 上打开,我必须保存并退出才能进入终端窗口。我找不到原因。

当我尝试 diff /etc/skel/.bashrc ~/.bashrc 时

husarion@test-612836-2307:~$ diff /etc/skel/.bashrc ~/.bashrc
21a22,23
> nano ~/.bashrc
> 
33a36,37
> nano ~/.bashrc
> 
37a42
> 
42a48,49
> nano ~/.bashrc
> 
46c53
< #force_color_prompt=yes
---
> force_color_prompt=yes
62a70,71
> nano ~/.bashrc
> 
76a86,87
> nano ~/.bashrc
> 
88a100,101
> nano ~/.bashrc
> 
91a105
> 
109a124,125
> nano ~/.bashrc
> 
117a134,138
> . /opt/ros/kinetic/setup.bash
> export ROS_MASTER_URI=http://master:11311
> export ROS_IPV6=on
> . /home/husarion/ros_workspace/devel/setup.sh
> 

相关内容