1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00
ohmyzsh/plugins/perms
Marc Cornellà 610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
..
perms.plugin.zsh Add argument to set644 and set755 perms alias. (#6959) 2018-07-04 12:48:46 +02:00
README.md Clean up plugin READMEs and a few plugins 2020-03-11 19:57:46 +01:00

Perms plugin

Plugin to handle some unix filesystem permissions quickly.

To use it, add perms to the plugins array in your zshrc file:

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.