Update Setup your computer authored by Guillaume Sanahuja's avatar Guillaume Sanahuja
......@@ -4,21 +4,28 @@ It is advised to put all Flair related stuffs in the same directory, for example
`$ mkdir $HOME/flair`
Then add an environment variable to your .bashrc with the path of this directory:
# bashrc
Edit your .bashrc:
`$ nano ~/.bashrc`
and add:
```
#!sh
# variable for Flair
export FLAIR_ROOT=$HOME/flair
# flair binaries
export PATH="$PATH":"$FLAIR_ROOT"/flair-src/bin
# flair completion script
source "$FLAIR_ROOT"/flair-src/scripts/flair_completion.sh
```
reload the script:
`$ source ~/.bashrc`
All Flair documentation, scripts and CMakeLists.txt will use this variable.
- `$FLAIR_ROOT` is a variable used in all flair documentation, in scripts and in CMakeLists.txt
- flair binaries are tools like flairrun or flairmake
- flair completion script is used for autocompletion with flair binaries
# Install packages
......
......