我在mac上有hyper.js 3.0.2终端(10.14.3)。我的目标是更改选项卡标题,如https://www.npmjs.com/package/hyperterm-title。
但它不起作用。
发布于 2021-05-24 22:57:05
请开始遵循用the "Usage" section of their GitHub's Readme编写的内容
要测试这一点,您可以告诉shell建议一个不同的标题:
函数标题(){ echo -e“\033]0;${1:?请指定标题}\007”;}标题“我的标题”
然后,为了持久化这个函数,将它添加到shell配置文件的末尾(如果是Bash,则为.bash_profile;如果是ZSH,则为.zprofile )。
https://stackoverflow.com/questions/56437931
复制相似问题