From 46c17fae47353efc8dea3c28408956bae4f50739 Mon Sep 17 00:00:00 2001 From: tokiclover Date: Sat, 27 Sep 2014 08:39:29 +0200 Subject: [PATCH] modules: firefox-profile: README.md update --- modules/firefox-profile/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/modules/firefox-profile/README.md b/modules/firefox-profile/README.md index d61bc64b..ea6cadef 100644 --- a/modules/firefox-profile/README.md +++ b/modules/firefox-profile/README.md @@ -52,6 +52,22 @@ A profile can be auto-started by setting: zstyle ':prezto:module:firefox-profile' start-profile 'yes' +Customizations +------- + +This module may not be needed in specif use cases... no superuser, no tty or +console devices... if sharing the same configuration files with different +users. The following can be done in that case in *zpreztorc*. + + zpmodules=(precompile environment editor prompt helper utility) + if [[ ${TTY/tty} == $TTY ]] && [[ $EUID != 0 ]] { + zpmodules=($zpmodules firefox-profile) + } + zstyle ':prezto:load' pmodule $zpmodules + unset zpmodules + +That snipet of code exlude console and *superuser* from having this module. + Authors -------