Add hostname to the shell prompt.
David Blume

David Blume commited on 2016-03-30 23:31:51
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -4,7 +4,7 @@ if [[ $(uname -s) != Darwin* ]] && [ -f /etc/bashrc ]; then
4 4
     . /etc/bashrc
5 5
 fi
6 6
 
7
-export PS1="\W\$ "
7
+export PS1="\h:\W\$ "
8 8
 
9 9
 add_to_path() {
10 10
     if [ -d "$1" ] && [[ ! $PATH =~ (^|:)$1(:|$) ]]; then
11 11