From 618ddb0f6a552f2fc3ce51c156da9e2cd24f1677 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sat, 21 Jan 2017 12:58:58 -0600 Subject: [PATCH] [zsh] adds safety to some commands --- zsh/zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index c2b8cd1..77cf2fa 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -26,6 +26,11 @@ antigen-apply bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down +# Safety first +alias cp="cp -i" +alias mv="mv -i" +alias rm="rm -i" + # Git aliases alias g='git' alias ga='git add'