vanillamochi
vanillamochi

Reputation: 3

Adding exports to ~/.bashrc

I'm working on installing the flow-project and I'm getting a message to add some things into my bashrc. Not sure if it matters but I'm on macOS.

This is the message it reads: https://i.sstatic.net/EbP3j.png

~/flow
Add the following to your ~/.bashrc:

export SUMO_HOME="$HOME/sumo_binaries/bin"
export PATH="$SUMO_HOME:$PATH"

I've looked in other threads too, I've added it manually as well as the "echo >> ~/.bashrc" method. It's definitely in the txt file. Thanks!

Edit: Question wasn't made clear, but I have tried putting the export ... into my .bashrc file but the thing I'm trying to install doesn't recognize that I've done that.

Upvotes: 0

Views: 6879

Answers (1)

Diego Torres Milano
Diego Torres Milano

Reputation: 69396

Verify what's exported with:

export -p

as per help

export: export [-nf] [name[=value] ...] or export -p
    NAMEs are marked for automatic export to the environment of
    subsequently executed commands.  If the -f option is given,
    the NAMEs refer to functions.  If no NAMEs are given, or if `-p'
    is given, a list of all names that are exported in this shell is
    printed.  An argument of `-n' says to remove the export property
    from subsequent NAMEs.  An argument of `--' disables further option
    processing.

Upvotes: 0

Related Questions