diff --git a/sh/alias/chmod.sh b/sh/alias/chmod.sh index 89b8bd7..1c55b40 100644 --- a/sh/alias/chmod.sh +++ b/sh/alias/chmod.sh @@ -1,12 +1,14 @@ # change mode to directory -cmd() { +cmd() { sh_a__change_mode_directory "${@}"; } +sh_a__change_mode_directory() { chmod \ "755" \ "${@}" } # change mode to file -cmf() { +cmf() { sh_a__change_mode_file "${@}"; } +sh_a__change_mode_file() { chmod \ "644" \ "${@}"