From 2fb0f35acbf0981903707b4915e15e59b86ad37c Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 17 Nov 2024 14:44:34 -0500 Subject: [PATCH] fish: add abbreviations for safer common commands --- home/.config/fish/config.fish | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/.config/fish/config.fish b/home/.config/fish/config.fish index 1b6b09e..6eaba9d 100644 --- a/home/.config/fish/config.fish +++ b/home/.config/fish/config.fish @@ -44,4 +44,9 @@ if status is-interactive alias chown 'chgrp --preserve-root' alias vim nvim alias vimdiff 'nvim -d' + + abbr cp cp -i + abbr mv mv -i + abbr rm rm -I + abbr ln ln -i end