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" \ + "${@}" +}