From 97389ceef759fa3d6499742dcbad9b0a5a0bef85 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 14:03:13 +0100 Subject: [PATCH] cmd,cmf --- shell/alias/chmod.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/shell/alias/chmod.sh b/shell/alias/chmod.sh index 4df1df3..c523a11 100644 --- a/shell/alias/chmod.sh +++ b/shell/alias/chmod.sh @@ -1,11 +1,13 @@ # change mode as directory -alias cmd="\ -chmod \ -\"755\" \ -" +cmd() { + chmod \ + "755" \ + "${@}" +} # change mode as file -alias cmf="\ -chmod \ -\"644\" \ -" +cmf() { + chmod \ + "644" \ + "${@}" +}