我怎样才能删除这个?
bash: /opt/ros/kinetic/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
bash: /home/pro/catkin_ws/devel/setup.bash: No such file or directory
该程序在您的
~/.bashrc
文件中留下了一些不必要的行。gedit ~/.bashrc
找到并删除它们。这
source/opt/ros/jade/setup.bash
是由您在屏幕截图上键入的命令添加的:$ echo "source/opt/ros/jade/setup.bash" >> ~/.bashrc
.我也遇到了这个问题,但我有不同的解决方案。我正在使用
zsh
,我需要更改:至
在我的
.zshrc