New command prompt in Hydra#

We have updated the default command prompt in Hydra with a more informative and better looking one.

../../../_images/new_hydra_prompt.png

Structure of the new prompt:

  1. icon indicating if previous command was successful () or not ()

  2. time at which the previous command finished

  3. username @ hostname (as before)

  4. current working directory (in blue) using environment variables $VSC_HOME, $VSC_DATA, $VSC_SCRATCH

  5. $ sign indicating that the shell is ready for your input (as before)

Users already working on the default prompt will automatically get the new one upon login. Users with a customized prompt can switch to the new default prompt by removing their changes to $PS1 or $PROMPT_COMMAND in ~/.bashrc.

If you have any questions or comments, please contact VUB-HPC Support