Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如这个答案所解释的,Dired 函数dired-copy-filename-as-kill( 0 w) 允许将文件的路径添加到终止环。但是,我想在 Eshell 上使用此路径,其中需要对 SPC 等字符进行转义。有没有办法复制相关角色逃脱的杀戮环的路径,或者转换以前的杀戮以逃脱这些角色?
dired-copy-filename-as-kill
0 w
您可能正在寻找C-hf eshell-quote-argument.
eshell-quote-argument