nutools/lib/bashrc.d/confirm_rm,mv,cp

8 lines
179 B
Bash

# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
if [ -n "$UTOOLS_CONFIRMATIONS" ]; then
alias rm="rm -i"
alias mv="mv -i"
alias cp="cp -i"
fi