Project

General

Profile

[New] Thinlinc / Compute - new prompt

Added by Carsten Rose over 8 years ago

The default prompt in any bash terminal (thinlinc & compute server) have been changed.

  • The history number has been replaced by the last part of the current directory.
  • If the current directory is equal to the home directy, the '~' will be displyed.
  • The return code of the last command will be shown (as earlier). This is quite usefull to check if the last command encountered any errors (0 means ok, everything else means 'some error').
    0-~> ls /tMp
    ls: cannot access /tMp: No such file or directory
    2-~> cd /tmp
    0-tmp> ls 
    1.pdf
    

Comments