1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 22:54:13 +08:00
ohmyzsh/plugins/perms
Matthieu PETIOT b0052c7958 Add argument to set644 and set755 perms alias. (#6959)
This can avoid big mistakes as this I just made.
I thought I could give it an argument. So, now, it is possible.
2018-07-04 12:48:46 +02:00
..
perms.plugin.zsh Add argument to set644 and set755 perms alias. (#6959) 2018-07-04 12:48:46 +02:00
README.md Add argument to set644 and set755 perms alias. (#6959) 2018-07-04 12:48:46 +02:00

Perms

Plugin to handle some unix filesystem permissions quickly

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.