diff --git a/sh/alias/chmod.sh b/sh/alias/chmod.sh index 57ec74e..611f768 100644 --- a/sh/alias/chmod.sh +++ b/sh/alias/chmod.sh @@ -1,5 +1,5 @@ # change mode to directory -cmd() { a__change_mode_directory "${@}"; } +#= cmd a__change_mode_directory() { chmod \ "755" \ @@ -7,7 +7,7 @@ a__change_mode_directory() { } # change mode to file -cmf() { a__change_mode_file "${@}"; } +#= cmf a__change_mode_file() { chmod \ "644" \ diff --git a/sh/alias/chown.sh b/sh/alias/chown.sh index f4fa865..df230fc 100644 --- a/sh/alias/chown.sh +++ b/sh/alias/chown.sh @@ -1,5 +1,5 @@ # change owner to root -cor() { a__change_owner_root "${@}"; } +#= cor a__change_owner_root() { chown \ "0:0" \ @@ -7,7 +7,7 @@ a__change_owner_root() { } # change owner to user -cou() { a__change_owner_user "${@}"; } +#= cou a__change_owner_user() { chown \ "1000:1000" \