Tuesday, May 25, 2010

How to avoid use original command while execute !cmd

Hi, everyone.

I add one rm function in .bashrc, so if I use rm to delete the file,
the file will be moved to ~/.Trash directory.
But When I use "!rm /tmp/1" command, I can't find the file in ~/.Trash
dir, it seems that the real rm command is called.

How can I use the function defined by myself ?

Best Regards,
robert

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment