From 0ff88dd16707475cbba71b1f424183c2a219a76c Mon Sep 17 00:00:00 2001 From: Johannes Stolp Date: Fri, 1 Jul 2016 17:46:05 +0200 Subject: Added descriptions to bash_prompt --- .bashrc.files/bash_prompt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.bashrc.files/bash_prompt') diff --git a/.bashrc.files/bash_prompt b/.bashrc.files/bash_prompt index 6b5aba9..12db681 100644 --- a/.bashrc.files/bash_prompt +++ b/.bashrc.files/bash_prompt @@ -1,5 +1,12 @@ # dotfiles -- .bashrc/bash_prompt # author: johannst +# colors not annotadted in the comments!!! + +# ::user::host - time - path +# [return_code] $> #export PS1="\[\033[38;5;88m\]::\[$(tput sgr0)\]\[\033[38;5;202m\]\u\[$(tput sgr0)\]\[\033[38;5;88m\]::\[$(tput sgr0)\]\[\033[38;5;208m\]\H\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;7m\]-\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;226m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;7m\]-\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;89m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]\[\033[38;5;7m\][\[$(tput sgr0)\]\[\033[38;5;214m\]\$?\[$(tput sgr0)\]\[\033[38;5;7m\]]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;67m\]\\$>\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" + +# ::user::host - time - path +# [return_code] >> export PS1="\[\033[38;5;88m\]::\[$(tput sgr0)\]\[\033[38;5;202m\]\u\[$(tput sgr0)\]\[\033[38;5;88m\]::\[$(tput sgr0)\]\[\033[38;5;208m\]\H\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;7m\]-\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;226m\]\t\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;7m\]-\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;74m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput sgr0)\]\[\033[38;5;7m\][\[$(tput sgr0)\]\[\033[38;5;214m\]\$?\[$(tput sgr0)\]\[\033[38;5;7m\]]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;67m\]>>\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]" -- cgit v1.2.3