```
alias rm='trash'
alias rl='trashlist'
alias ur='undelfile'
```



```shell
trash()
{
   mv $@  ~/.trash/
}


trashlist()
{
   ls -al  ~/.trash
}

undelfile()
{
   mv -i ~/.trash/$@ ./
}


cleartrash()
{
    read "CONF?确定要删除吗? "
    if [ "$CONF" = "y" ]; then
      /bin/rm -rf ~/.trash/*;
      echo "success";
    else
      echo "exit";
    fi
}
```

