-
Notifications
You must be signed in to change notification settings - Fork 32
/
index.html
161 lines (150 loc) · 5.64 KB
/
index.html
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Halloween Bash Profile Generator</title>
<meta name="description" content="Bash Profile Generator">
<meta name="author" content="RexFeng">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="./public/all.css">
</head>
<body>
<div id="bg-wrap">
<div id="content-wrap">
<header>
<h1><a href="./index.html" title="Bash Profile Generator">Bash Profile Generator</a></h1>
<h3>Build your very own .bash_profile</h3>
</header>
<h2>bash preview</h2>
<section id="terminal">
<h2 id="title">
HalloweenBash — bash — 80x24
</h2>
<div id="area">
<span id="prompt">
<!--Last login: Wed Oct 3 18:14:19 on ttys001<br />-->
macbook:HalloweenBash jon$
</span>
</div>
</section>
<h2>Your Configuration</h2>
<section id="config" class="setupbox">
<ul id="current_config" class="connectedSortable">
<li class="psh">short hostname</li>
<li class="pscolon">:</li>
<li class="psworking">current dir basename</li>
<li class="psspace">(space)</li>
<li class="psu">user</li>
<li class="psdollar">$</li>
</ul>
</section>
<h2>1.) Drag these into (<strong>Your Configuration</strong>) above</h2>
<section id="customize" class="setupbox">
<ul id="prompt_strings" class="connectedSortable">
<li class="psd">date (Day Month Date)</li>
<li class="psh">short hostname</li>
<li class="pshost">full hostname</li>
<li class="psj">current shell jobs</li>
<li class="psl">terminal device</li>
<li class="psn">(newline)</li>
<li class="psu">user</li>
<li class="pss">shell name</li>
<li class="pstime24hms">time (24h HH:MM:SS)</li>
<li class="pstime12hms">time (12h HH:MM:SS)</li>
<li class="pstime12ampm">time (12h AM PM)</li>
<li class="pstime24hhmm">time (24h HH:MM)</li>
<li class="psv">bash version</li>
<li class="psversion">long bash version</li>
<li class="psw">current dir</li>
<li class="psworking">current dir basename</li>
<li class="psat">@</li>
<li class="psgit">git branch</li>
<li class="psexitstatus">exit status</li>
<li class="psbang">!</li>
<li class="pshash">#</li>
<!-- <li class="psdollar">$</li> -->
<!-- <li class="psbackslash">\</li> -->
<li class="psleftbrack">[</li>
<li class="psrightbrack">]</li>
<li class="pszero">0</li>
<li class="pscaret">^</li>
<li class="pssplat">*</li>
<li class="psdash">-</li>
<li class="psunder">_</li>
<li class="psleftbrace">{</li>
<li class="psrightbrace">}</li>
<li class="pscolon">:</li>
<li class="pscomma">,</li>
<li class="psperiod">.</li>
<li class="psquestion">?</li>
<li class="psgreaterthan">></li>
<li class="psspace">(space)</li>
</ul>
</section>
<h2>2.) Choose your colors</h2>
<section id="colorpick" class="setupbox">
<h3>Foreground</h3>
<ul id="foregroundcolor">
<li class="none selected">(default)</li>
<li class="black">Black</li>
<li class="blue">Blue</li>
<li class="green">Green</li>
<li class="cyan">Cyan</li>
<li class="red">Red</li>
<li class="purple">Purple</li>
<li class="brown">Brown</li>
</ul>
<h3>Background</h3>
<ul id="backgroundcolor">
<li class="none selected">(default)</li>
<li class="black">Black</li>
<li class="blue">Blue</li>
<li class="green">Green</li>
<li class="cyan">Cyan</li>
<li class="red">Red</li>
<li class="purple">Purple</li>
<li class="brown">Brown</li>
</ul>
</section>
<h2>3.) Copy this into your <code>~/.bash_profile</code></h2>
<section id="copycode">
<section id="additionaltext"></section>
<section id="copytext">
export PS1="\h:\W \u\\$ "
</section>
</section>
</div>
</div>
<footer>
<h2>
Made in NYC at <a href="http://flatironschool.com/">The Flatiron School</a> 2012.
</h2>
<p>
In our first week of learning to code, we were getting familiar with the Command Line and
customizing our bash prompts.
This involved deciphering webpages just to do simple tasks like adding colors or displaying the time.
I thought there had to be an easier way to do this, so
<a href="./index.html" title="Bash Profile Generator">Halloween Bash</a> was created to allow people customize their bash profile
with an intuitive drag & drop interface.
</p>
<p>
If you have any comments or feedback, please reach out to me
at <a href="https://twitter.com/rexfeng">@rexfeng</a>. Thanks for checking out <a href="./index.html" title="Bash Profile Generator">Halloween Bash</a>!
</p>
</footer>
<div id='gh-stars'>
<a href="https://github.com/xta/HalloweenBash" class="github-button" data-style="mega" data-icon="octicon-star" data-count-href="/xta/HalloweenBash/stargazers" data-count-api="/repos/xta/HalloweenBash#stargazers_count">Star</a>
</div>
<script src="./public/all.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DV4EQVJWWW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-DV4EQVJWWW');
</script>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
</body>
</html>