prompt tweaks

This commit is contained in:
Matthias Kretschmann 2016-05-10 00:00:47 +02:00
parent 0ea1b10d90
commit fed72a7b22
1 changed files with 4 additions and 6 deletions

View File

@ -108,19 +108,17 @@ else
fi;
# Set the terminal title to the current working directory.
PS1="\[\033]0;\w\007\]";
PS1="\[\033]0;\w • \h\007\]";
PS1+="\n";
#PS1+="\[${orange}\]\w"; # working directory
PS1+="\[${bold}\]\n"; # newline
PS1+="\[${userStyle}\]\u"; # username
PS1+="\[${dim}\] at ";
PS1+="\[${hostStyle}\]\h"; # host
PS1+="\[${hostStyle}\]\h\[${reset}\]"; # host
PS1+="\[${dim}\] in ";
PS1+="\[${blue}\]\w"; # working directory full path
PS1+="\$(prompt_git \" \[${gray}\]\")"; # Git repository details
PS1+="\n";
PS1+="\[${dim}\]→ \[${reset}\]"; # `→` (and reset color)
PS1+="\[${white}\]→ \[${reset}\]"; # `→` (and reset color)
export PS1;
PS2="\[${dim}\]→ \[${reset}\]";
PS2="\[${white}\]→ \[${reset}\]";
export PS2;