[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

‘Know which branch we’re on’ on Ubuntu 16

From: Simon Albrecht
Subject: ‘Know which branch we’re on’ on Ubuntu 16
Date: Sun, 4 Jun 2017 17:58:10 +0200


finally I’ve managed to get Ubuntu 16.04 working, and copied all of my previous home directory including .bashrc. However, the ‘export PS1’ trick suggested in <> with the following line in .bashrc:

export PS1="address@hidden \w\$(__git_ps1)$ "

doesn’t seem to work the same anymore: upon any command I execute in the terminal I get an error message ‘__git_ps1: command not found’. Can anyone give me a hint how to update this?

Best, Simon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]