cmd,cmf
This commit is contained in:
parent
895c169599
commit
97389ceef7
1 changed files with 10 additions and 8 deletions
|
@ -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" \
|
||||
"${@}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue