Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/torch.github.io.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@gmail.com>2016-02-25 22:21:03 +0300
committerSoumith Chintala <soumith@gmail.com>2016-02-25 22:21:03 +0300
commita3c7f15e05245bec480ae3ca1faa6ed401ae8434 (patch)
treeadf7e0448009e53fec11180a179e78bb31e97d31
parent8d10c359a92deebb3e6906da3ca7de518c87835e (diff)
parent173a4feeda6a876ccc37a3c86b8a178ec70d651f (diff)
Merge pull request #38 from JJ/patch-3
Changed over the new file
-rw-r--r--docs/00-getting-started.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/00-getting-started.md b/docs/00-getting-started.md
index f12fc1a..4f02991 100644
--- a/docs/00-getting-started.md
+++ b/docs/00-getting-started.md
@@ -28,12 +28,14 @@ and then uses LuaRocks (the lua package manager) to install core packages like
[nn](https://github.com/torch/nn/blob/master/README.md) and
[paths](https://github.com/torch/paths/blob/master/README.md), as well as a few other packages.
-The script adds torch to your PATH variable. You just have to source it once to refresh your env variables
-
+The script adds torch to your PATH variable. You just have to source it once to refresh your env variables. The installation script will detect what is your current shell and modify the path in the correct configuration file.
+
```bash
-# On Linux
+# On Linux with bash
source ~/.bashrc
-# On OSX or if you don't use bash
+# On Linux with zsh
+source ~/.zshrc
+# On OSX or in Linux with none of the above.
source ~/.profile
```
@@ -50,7 +52,7 @@ $ luarocks install image
$ luarocks list
```
-Once installed you can run torch with the command "th" from you prompt!
+Once installed you can run torch with the command `th` from you prompt!
The easiest way to learn and experiment with Torch is by starting an
interactive session (also known as the torch read-eval-print loop or [TREPL](https://github.com/torch/trepl/blob/master/README.md)):