diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
| @@ -179,7 +179,9 @@ corresponding values. Currently the following macros are supported: | |||
| 179 | 179 | ||
| 180 | - **%h** - the home directory of the user running *etoolkit* (~/) | 180 | - **%h** - the home directory of the user running *etoolkit* (~/) |
| 181 | 181 | ||
| 182 | - **%i** - the names of the instance that is about to be loaded | 182 | - **%i** - the name of the instance that is about to be loaded |
| 183 | |||
| 184 | - **%p** - the parent value (for the same key) | ||
| 183 | 185 | ||
| 184 | - **%u** - the username of the user running *etoolkit* (*getpass.getuser()*) | 186 | - **%u** - the username of the user running *etoolkit* (*getpass.getuser()*) |
| 185 | 187 | ||
| @@ -234,16 +236,16 @@ or the *instances* structure being loaded from a diferent configuration file | |||
| 234 | "general": { | 236 | "general": { |
| 235 | }, | 237 | }, |
| 236 | "instances": { | 238 | "instances": { |
| 237 | "default": { | 239 | "_default": { |
| 238 | "ETOOLKIT_PROMPT": "(%i)" | 240 | "ETOOLKIT_PROMPT": "(%i)", |
| 241 | "PYTHONPATH": "/home/user/%i/python", | ||
| 239 | }, | 242 | }, |
| 240 | "dev": { | 243 | "dev": { |
| 241 | "ETOOLKIT_PARENT": "default", | 244 | "ETOOLKIT_PARENT": "_default", |
| 242 | "PYTHONPATH": ":/home/user/.pythonpath", | 245 | "PYTHONPATH": "%p:/home/user/%i/.pythonpath", |
| 243 | "DB_CONNECTION": "enc-val$1$Y/TBb1F3siHTw6qZg9ERzZfA8PLPf2CwGSQLpu9jYWw=$FT5tS9o+ABvsxogIXpJim16Gz5SVtV8=" | ||
| 244 | }, | 246 | }, |
| 245 | "secret": { | 247 | "secret": { |
| 246 | "ETOOLKIT_PARENT": "default", | 248 | "ETOOLKIT_PARENT": "_default", |
| 247 | "ETOOLKIT_SENSITIVE": ["PASSWORD"], | 249 | "ETOOLKIT_SENSITIVE": ["PASSWORD"], |
| 248 | "GNUPGHOME": "%h/private/.gnupg", | 250 | "GNUPGHOME": "%h/private/.gnupg", |
| 249 | "PASSWORD": "enc-val$1$vIBcoCNiYrsDLtF41uLuSEnppBjhliD0B8jwcBJcj/c=$KwOGe/y1dlxktDaCnJPIVNuaQ4Q7yNo=" | 251 | "PASSWORD": "enc-val$1$vIBcoCNiYrsDLtF41uLuSEnppBjhliD0B8jwcBJcj/c=$KwOGe/y1dlxktDaCnJPIVNuaQ4Q7yNo=" |
