摘要: ### Bash ~/.bash_profile: export PS1="$PS1\[\e]1337;CurrentDir="'$(pwd)\a\]' ### ZSH ~/.zshrc: precmd () { echo -n "\x1b]1337;CurrentDir=$(pwd)\x07" } 阅读全文
posted @ 2026-03-17 14:48 LiuChengloong 阅读(5) 评论(0) 推荐(0)