z plugin: allow usage while in sudo mode

This commit is contained in:
Dan Bolsun 2014-05-07 16:02:20 +03:00
commit 47b7959736
4 changed files with 13 additions and 7 deletions

View file

@ -141,6 +141,9 @@ handle \fBPROMPT_COMMAND\fR or \fBprecmd\fR yourself.
The environment variable \fB$_Z_EXCLUDE_DIRS\fR can be set to an array of
directories to exclude from tracking. \fB$HOME\fR is always excluded.
Directories must be full paths without trailing slashes.
.P
The environment variable \fB$_Z_OWNER\fR can be set if you want to use z
while `sudo -s' and \fB$HOME\fR variable was kept.
.SH
FILES
Data is stored in \fB$HOME/.z\fR. This can be overridden by setting the