# Add specific directories to the PATH if they exist. if [ ! -z "${MSYS_LOCALAPPDATA}" ] then [ -d "${MSYS_LOCALAPPDATA}/Pandoc" ] && PATH="${MSYS_LOCALAPPDATA}/Pandoc:${PATH}" [ -d "${MSYS_LOCALAPPDATA}/Programs/Microsoft VS Code/bin" ] && PATH="${MSYS_LOCALAPPDATA}/Programs/Microsoft VS Code/bin:${PATH}" fi if [ ! -z "${MSYS_PROGRAMFILES}" ] then [ -d "${MSYS_PROGRAMFILES}/Pandoc" ] && PATH="${MSYS_PROGRAMFILES}/Pandoc:${PATH}" fi # Set PATH so it includes user's private bin directories if they exist. [ -d "${HOME}/bin" ] && PATH="${HOME}/bin:${PATH}" [ -d "${HOME}/.cabal/bin" ] && PATH="${HOME}/.cabal/bin:${PATH}" [ -d "${HOME}/.local/bin" ] && PATH="${HOME}/.local/bin:${PATH}" # User info and man directories. [ -d "${HOME}/info" ] && INFOPATH="${HOME}/info:${INFOPATH}" [ -d "${HOME}/man" ] && MANPATH="${HOME}/man:${MANPATH}"