Brief description of tools/files: Gromacs installs a few GMXRC files alongside its binary in $GROMACS_DIR/bin. By sourcing the appropriate file for your shell, the appropriate PATH variables (and a few Gromacs specific ones) are updated so that when running gmx the binary from that distribution is used.
This GMXRC.fish file implements that for the Fish shell.
Instructions:
- Copy file to the
$GROMACS_DIR/bindirectory, where$GROMACS_DIRis your installation directory. This directory is where thegmxbinary and the otherGMXRCfiles are. - Source the file:
source $GROMACS_DIR/bin/GMXRC.fish - Optionally: Inspect $PATH and Gromacs variables
echo $PATH
echo $GMXBIN
Link: GMXRC file for the Fish shell. Add to `$GROMACS/bin` directory and source to set path and variables. ยท GitHub
Contact person (name and email address): Petter Johansson (pjohansson at univ-pau.fr)
How the work has been tested/reviewed: Tested in Fish version 3.3.1. Like the standard GMXRC files, path variables are cleaned up if multiple GMXRC.fish files are sourced โ only the most recently sourced file will be present in $PATH.