Skip to content
Discussion options

You must be logged in to vote

env is used for single command, it's a one-off, only affect one line.
export will change the environment variable for you whole terminal session. If you close the terminal, it goes away.

.bashrc is the file that will be loaded automatically when you open a new terminal. So, if you put export TRILIUM_DATA_DIR=home/<usr_name>/<some_path> to the end of your .bashrc file. The setting should be available for every new terminal session now.

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by eliandoran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2737 on July 01, 2025 21:21.