From ad4ada00a12f45ffd00f86c446692382f20253d6 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Wed, 21 Jan 2015 15:49:00 +0100 Subject: [PATCH] added information about `%HOMEDRIVE%` and `%HOMEPATH%` --- Documentation/Books/Users/Arangosh/Configuration.mdpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/Books/Users/Arangosh/Configuration.mdpp b/Documentation/Books/Users/Arangosh/Configuration.mdpp index 4050395acf..3fe610e892 100644 --- a/Documentation/Books/Users/Arangosh/Configuration.mdpp +++ b/Documentation/Books/Users/Arangosh/Configuration.mdpp @@ -1,7 +1,11 @@ !CHAPTER ArangoDB Shell Configuration _arangosh_ will look for a user-defined startup script named *.arangosh.rc* in the -user's home directory on startup. If the file is present _arangosh_ will execute +user's home directory on startup. The home directory will likely be `/home//` +on Unix/Linux, and is determined on Windows by peeking into the environment variables +`%HOMEDRIVE%` and `%HOMEPATH%`. + +If the file *.arangosh.rc* is present in the home directory, _arangosh_ will execute the contents of this file inside the global scope. You can use this to define your own extra variables and functions that you need often.