nnn: Unable to delete a file

Mark a file with SPACE, then execute x, it shows 'c'urrent / 's'el?. I hit ā€˜c’, nothing happens. I hit s, the selection is removed but the file is not deleted. Also, ^ X on a file does nothing. I have all the permissions for the files.

Platform: macOS 10.15.3

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (11 by maintainers)

Most upvoted comments

OK, I got it.

You already had export NNN_TRASH=1 set, but trash-cli was not installed.

That would explain the problem. If trash-cli is not installed remove will silently fail.

Do NOT set environment variables blindly, first check what it does and if you need it.