README: document nit_env.sh
authorJean Privat <jean@pryen.org>
Thu, 22 Oct 2015 14:55:34 +0000 (10:55 -0400)
committerJean Privat <jean@pryen.org>
Mon, 26 Oct 2015 14:49:25 +0000 (10:49 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

README.md

index 6b575a8..5b35eea 100644 (file)
--- a/README.md
+++ b/README.md
@@ -56,12 +56,10 @@ How to start:
     $ bin/nitc examples/hello_world.nit
     $ ./hello_world
 
-You can put the `bin/` directoty in your PATH
+You can source `misc/nit_env.sh` to setup your environment like PATH, MANPATH and bash completion.
+To have your environment automatically configured at login, just source it with `install` as argument.
 
-Using bash completion with Nit tools:
-
-    $ echo source /absolute/path/to/misc/bash_completion/nit >> ~/.bash_completion
-    $ source ~/.bash_completion
+    $ . misc/nit_env.sh install
 
 More information: