summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/perms/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/oh-my-zsh/plugins/perms/README.md')
-rw-r--r--zsh/oh-my-zsh/plugins/perms/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/zsh/oh-my-zsh/plugins/perms/README.md b/zsh/oh-my-zsh/plugins/perms/README.md
new file mode 100644
index 0000000..ae7a36b
--- /dev/null
+++ b/zsh/oh-my-zsh/plugins/perms/README.md
@@ -0,0 +1,15 @@
+# Perms plugin
+
+Plugin to handle some unix filesystem permissions quickly.
+
+To use it, add `perms` to the plugins array in your zshrc file:
+
+```zsh
+plugins=(... perms)
+```
+
+## Usage
+
+* `set755` recursively sets all given directories (default to .) to octal 755.
+* `set644` recursively sets all given files (default to .) to octal 644.
+* `fixperms` is a wrapper around `set755` and `set644` applied to a specified directory or the current directory otherwise. It also prompts prior to execution unlike the other two aliases.