In ~/.tcshrc
, I have the following aliases:
alias trash 'echo ./*{~,.bak,.save} ./.*{~,.bak,.save} ./#*#'
alias trashit 'rm -f ./*{~,.bak,.save} ./.*{~,.bak,.save} ./#*#'
How can I implement the same in zsh
? The curly brace expansion seems to fail unless all criteria are met.