From 89cb3fbdc38dc2887230d1bc4c64d6cf2ddd5da8 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Sun, 10 May 2015 23:45:51 -0400 Subject: [PATCH] Changed PS1 to use hostname on SSH connection --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ebf7dc7..a5d0b0c 100644 --- a/.bashrc +++ b/.bashrc @@ -19,7 +19,7 @@ export LESSOPEN='|/usr/local/bin/lesspipe.sh %s' # Prompt differs if SSH'ed or not if [ -n "$SSH_CLIENT" ]; then - PS1='\n╭\[\e[1;33m\]$(__git_ps1 "(%s)")\[\e[1;32m\][\w]\[\033[0m\]\n╰\[\033[1;36m\]\u@buttstuff\[\033[1;33m\]\$ \[\033[0m\]' + PS1='\n╭\[\e[1;33m\]$(__git_ps1 "(%s)")\[\e[1;32m\][\w]\[\033[0m\]\n╰\[\033[1;36m\]\u@\h\[\033[1;33m\]\$ \[\033[0m\]' else PS1='\n╭\[\e[1;33m\]$(__git_ps1 "(%s)")\[\033[32m\][\w]\[\033[0m\]\n╰\[\033[1;36m\]\u\[\033[1;33m\]\$ \[\033[0m\]' fi