mirror of
https://github.com/wahyd4/dotfiles.git
synced 2026-08-23 03:35:59 +10:00
+9
-9
@@ -104,17 +104,17 @@ else
|
||||
fi;
|
||||
|
||||
# Set the terminal title to the current working directory.
|
||||
PS1="\033]0;\w\007";
|
||||
PS1+="${bold}\n"; # newline
|
||||
PS1+="${userStyle}\u"; # username
|
||||
PS1+="${white} at ";
|
||||
PS1+="${hostStyle}\h"; # host
|
||||
PS1+="${white} in ";
|
||||
PS1+="${green}\w"; # working directory
|
||||
PS1="\[\033]0;\w\007\]";
|
||||
PS1+="\[${bold}\]\n"; # newline
|
||||
PS1+="\[${userStyle}\]\u"; # username
|
||||
PS1+="\[${white}\] at ";
|
||||
PS1+="\[${hostStyle}\]\h"; # host
|
||||
PS1+="\[${white}\] in ";
|
||||
PS1+="\[${green}\]\w"; # working directory
|
||||
PS1+="\$(prompt_git \"${white} on ${violet}\")"; # Git repository details
|
||||
PS1+="\n";
|
||||
PS1+="${white}\$ ${reset}"; # `$` (and reset color)
|
||||
PS1+="\[${white}\]\$ \[${reset}\]"; # `$` (and reset color)
|
||||
export PS1;
|
||||
|
||||
PS2="${yellow}→ ${reset}";
|
||||
PS2="\[${yellow}\]→ \[${reset}\]";
|
||||
export PS2;
|
||||
|
||||
Reference in New Issue
Block a user