guest@dotshare [~/groups/shells/bash] $ ls show-dateJobserrors/ | cat

show date+Jobs+errors (scrot, raw, dl)

sohaeb Feb 21, 2014 (shells/bash)

SCROT

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[ -z "$PS1" ] && return
green="\[\033[0;32m\]"
blue="\[\033[1;34m\]"
yellow="\[\e[0;33m\]"
grey="\[\033[1;30m\]"
white="\[\033[0m\]"
red="\[\033[1;31m\]"
jobs="$grey[$red\j$grey]"
WriteAnything="ubuntu"

_PROMPT() {
    _EXIT_STATUS=$?
    [ $_EXIT_STATUS != 0 ] && _EXIT_STATUS_STR="$grey[$red$_EXIT_STATUS$grey]"
  

	PS1="$blue»$green[$white\$(date +%k:%M)$green]$yellow$WriteAnything$grey╺─╸$_EXIT_STATUS_STR$jobs$grey[$white\W$grey]$blue;$white "
	
    unset _EXIT_STATUS_STR
}

PROMPT_COMMAND=_PROMPT



#UNCOMMENT THE COMMAND BELOW IF YOU WANT TO HAVE THE COW THING
#cowsay -f sheep $(whatis $(ls /bin) 2>/dev/null | shuf -n 1)

CLICK TO VIEW

x

Notes

I got half of the code from user dipilibupap. Here is his original work: http://dotshare.it/dots/32/

If YOU WANT THE COW THING ITS IN THE bash.rc. JUST UNCOMMENT THE COMMAND

HERE IS THE RESULT IF YOU CAN"T SEE THE PIC
»[23:16]suhaib╺─╸[2][~];