摘要: 为了少踩坑,直接上代码 alias rm=safe_rm export TRASH_DIR={your_path}/.__trash safe_rm () { local d t f s [ -z "$PS1" ] && (/bin/rm "$@"; return) d="${TRASH_DIR}/ 阅读全文
posted @ 2021-07-08 11:24 大大章鱼 阅读(149) 评论(0) 推荐(0) 编辑