From 3c737f19285a86cb5018d26c954f067d948a5ace Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 14:40:28 +0100 Subject: [PATCH] =?UTF-8?q?cpi,=C2=B5,mvi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/alias/cp.sh | 9 +++++---- shell/alias/micro.sh | 7 ++++--- shell/alias/mv.sh | 9 +++++---- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/shell/alias/cp.sh b/shell/alias/cp.sh index 946182f..5db0082 100644 --- a/shell/alias/cp.sh +++ b/shell/alias/cp.sh @@ -1,5 +1,6 @@ # copy interactively -alias cpi="\ -cp \ ---interactive \ -" +cpi() { + cp \ + --interactive \ + "${@}" +} diff --git a/shell/alias/micro.sh b/shell/alias/micro.sh index 05102a2..b0aa4be 100644 --- a/shell/alias/micro.sh +++ b/shell/alias/micro.sh @@ -1,3 +1,4 @@ -alias µ="\ -micro \ -" +µ() { + micro \ + "${@}" +} diff --git a/shell/alias/mv.sh b/shell/alias/mv.sh index dff7f63..89d6efd 100644 --- a/shell/alias/mv.sh +++ b/shell/alias/mv.sh @@ -1,5 +1,6 @@ # move interactively -alias mvi="\ -mv \ ---interactive \ -" +mvi() { + mv \ + --interactive \ + "${@}" +}