-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelite.prmpt
38 lines (36 loc) · 894 Bytes
/
elite.prmpt
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
27
28
29
30
31
32
33
34
35
36
37
38
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% vim: set filetype=tex:
%
% Elite prmpt
% =============
% A promty script ported from the 'Elite' bash prompt
% oringinally created by "KrON"
%
% http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x847.html
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% First line
\red{\unichar{0x250c}\unichar{0x2500}}
\blue{(}
\red{\user}
\blue{@}
\red{\hostname}
\blue{)}
\red{\unichar{0x2500}}
\blue{(}
\red{\datefmt{#H#M}}
\blue{-:-}
\red{\datefmt{#A,\space #d\space #B\space #Y}}
\blue{)}
\red{\unichar{0x2500}\unichar{0x2500}}
\blue{\closesquare\unichar{0x2219}}
\red{\unichar{0x2500}\unichar{0x2219}\unichar{0x2219}}
\blue{\unichar{0x0b7}}
\newline
% Second line
\red{\unichar{0x2514}\unichar{0x2500}}
\blue{(}
\red{\workingdirbase}
\blue{)}
\red{\unichar{0x2500}\unichar{0x2219}}
\blue{\unichar{0x0b7}}