README.md 524 Bytes
Newer Older
1
# Perms plugin
Rory Hardy's avatar
Rory Hardy committed
2

3
Plugin to handle some unix filesystem permissions quickly.
Rory Hardy's avatar
Rory Hardy committed
4

5
6
7
8
9
10
11
To use it, add `perms` to the plugins array in your zshrc file:

```zsh
plugins=(... perms)
```

## Usage
Rory Hardy's avatar
Rory Hardy committed
12

13
14
* `set755` recursively sets all given directories (default to .) to octal 755.
* `set644` recursively sets all given files (default to .) to octal 644.
15
* `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.