This plugin adds some handy aliases for using Mercurial as well as a few
utility and prompt functions that can be used in a theme.
1. Add name to the list of plugins, e.g. `plugins=(... mercurial ...)`
(that is pretty obvious).
To use it, add `mercurial` to the plugins array in your zshrc file:
2. Switch to a theme which uses `hg_prompt_info`.
```zsh
Or, customize the `$PROMPT` variable of your current theme to contain current folder mercurial repo info. This can be done by putting a custom version of the theme in `$ZSH_CUSTOM` or by changing `$PROMPT` in `.zshrc` after loading the theme.
plugins=(... mercurial)
```
The `robbyrussell` theme is used by default, so you need to modify `$PROMPT` var by adding `$(hg_prompt_info)` after `$(git_prompt_info)`, so it looks like this:
Plugin to handle some unix filesystem permissions quickly
Plugin to handle some unix filesystem permissions quickly.
### Usage
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.
*`set755` recursively sets all given directories (default to .) to octal 755.
*`set644` recursively sets all given files (default to .) to octal 644.
*`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.
*`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.
| pylint-quick | `pylint --reports=n` | Displays a set of reports each one focusing on a particular aspect of the project, default set `no` for multiple reports | |
| pylint-quick | `pylint --reports=n` | Displays a set of reports each one focusing on a particular aspect of the project, default set `no` for multiple reports |