简体   繁体   English

如何摆脱两条 bash : 行?

[英]How do I get rid of the two bash : lines?

bash: /home/falgun/Desktop/catkin_ws/devel/setup.bash: No such file or directory bash: /usr/share/colcon_cd/function/colcon_cd.sh: No such file or directory falgun@falgun-HP-Laptop:~/Desktop$ bash: /home/falgun/Desktop/catkin_ws/devel/setup.bash: 没有那个文件或目录 bash: /usr/share/colcon_cd/function/colcon_cd.sh: 没有那个文件或目录 falgun@falgun-HP-Laptop: 〜/桌面$

These show everytime i start the terminal.这些显示每次我启动终端。 I want to remove that.我想删除它。

something seems to try to call these two scripts, likely .bash_rc or .profile.有些东西似乎试图调用这两个脚本,可能是 .bash_rc 或 .profile。 to find the script try找到脚本试试

cd
grep setup.bash .*
grep colcon_cd.sh .*

then edit the resulting script, and comment out (#) the calls.然后编辑生成的脚本,并注释掉 (#) 调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM