Use a command line tool like rmtrash or a script tat uses appscript to call the Finder to do there delete.
After installing rmtras to say /usr/local/bin/rmtrash the creat an alias for bash
alias rm='rmtrash' You can use \rm to call rm directly and ignore the alias