Skip to content

Instantly share code, notes, and snippets.

@kirankotari
Last active March 8, 2020 05:43
Show Gist options
  • Save kirankotari/32895c0c3c10f5b3e2751424e75fcf1d to your computer and use it in GitHub Desktop.
Save kirankotari/32895c0c3c10f5b3e2751424e75fcf1d to your computer and use it in GitHub Desktop.
# fish environment setup for NCS ncs-4.7.5
set NCS_DIR /Users/<path-to-nso>/nso-4.7.5
set -x PATH $NCS_DIR/bin "$PATH"
if [ $DYLD_LIBRARY_PATH ];
set DYLD_LIBRARY_PATH $NCS_DIR/lib
else
set -x DYLD_LIBRARY_PATH $NCS_DIR/lib "$DYLD_LIBRARY_PATH"
end
if [ $PYTHONPATH ];
set -x PYTHONPATH $NCS_DIR/src/ncs/pyapi
else
set -x PYTHONPATH $NCS_DIR/src/ncs/pyapi "$PYTHONPATH"
end
# export NCS_DIR PATH DYLD_LIBRARY_PATH PYTHONPATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment