jeffreytse / zsh-vi-mode

💻 A better and friendly vi(vim) mode plugin for ZSH.
MIT License
2.94k stars 102 forks source link

use absolue path for `rm` for temp file deletion #204

Closed aziz0x00 closed 1 year ago

aziz0x00 commented 1 year ago

I alias rm to another command for security reasons (sometimes i delete files by mistake, or i guess some people may just alias it to a move-to-trash command), so it would be better to use the absolute path of rm to ensure deletion of the temp file.