简体   繁体   English

如何在 VSCode 终端中隐藏文件路径?

[英]How to hide file path in VSCode terminal?

Can someone please help me with this one?有人可以帮我解决这个问题吗? Is there a way to hide this path in VSCode terminal?有没有办法在 VSCode 终端中隐藏此路径? I only want to display the output without that path.我只想显示没有该路径的 output。 Path in VSCode. VSCode 中的路径。 Screenshot截屏

It seems to me that this is solved by the shell itself in the system.在我看来,这是由系统中的 shell 本身解决的。 You can customize the terminal as described here: https://askubuntu.com/questions/16728/hide-current-working-directory-in-terminal or https://github.com/ohmyzsh/ohmyzsh/wiki/Themes您可以按照此处所述自定义终端: https://askubuntu.com/questions/16728/hide-current-working-directory-in-terminalhttps://github.com/ohmyzsh/ohmyzsh/wiki/Themes

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

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