Timing icon

Enabling Terminal Support

Timing can also track the current working directory of your bash sessions (bash is the software that runs inside Terminal to let you enter commands). In order to do so, you have to change the title of your Terminal windows to something like user@mac:/your/working/directory.

You need to manually apply these changes via the following steps:

  1. Open the file named .profile for editing, e.g. by entering the following command into Terminal:
    touch ~/.profile; open -a TextEdit ~/.profile
  2. Copy the following lines and paste them at the end of the file opened in the first step (which might be empty):
    PROMPT_TITLE='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'
    export PROMPT_COMMAND="${PROMPT_COMMAND} ${PROMPT_TITLE}; "