kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
23.45k stars 1.81k forks source link

macos 上使用shell zsh ,执行trash报错:trash: error -1701 #2431

Open FANTASYSSL opened 4 months ago

FANTASYSSL commented 4 months ago

1.在Mac电脑上,是用zsh shell,目的是删除一个文件,将文件放入废纸篓并支持放回原处,错误如下:

image

2.添加 sudo

image

-- which trash

image

-- trash -h

image