#!/bin/sh export MCSTAS=/usr/local/lib/mcstas-1.12c export PATH=/usr/local/bin/McStas-1.12c:$PATH echo echo The new shell started here is now set up for running this version of mcstas: echo mcstas -v echo echo To end using this version of mcstas, exit this shell. echo export PS1='McStas 1.12c env \w\$ > ' /bin/sh