1
0
Fork 0

Chmod help

This commit is contained in:
Gregory Eremin 2013-03-13 17:37:21 +04:00
parent 323c7899e0
commit 9dd3d223ba
2 changed files with 15 additions and 1 deletions

View File

@ -22,7 +22,6 @@ alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false &&
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
# Services start-ups and shut-downs
alias mysql-start="mysql.server start"
alias mysql-stop="mysql.server stop"
alias mysql-restart="mysql.server restart"

15
zsh/chmod_help.zsh Normal file
View File

@ -0,0 +1,15 @@
# I'm just unable to remember this shit
# Taken from http://www.analysisandsolutions.com/code/chmod.htm
alias chmod-help='echo "\
+---+-----+-------------------------+
| 0 | --- | no access |
| 1 | --x | only execute |
| 2 | -w- | only write |
| 3 | -wx | write and execute |
| 4 | r-- | only read |
| 5 | r-x | read and execute |
| 6 | rw- | read and write |
| 7 | rwx | read, write and execute |
+---+-----+-------------------------+\
"'