-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash.html
37 lines (31 loc) · 1.65 KB
/
bash.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bash Config</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Bash Config</h1>
</header>
<div class="text-box">
<p>nvim ~/.bashrc</p>
<code>PS1='\[\033[01;31m\][\W]\[\033[00m\]\[\033[01;31m\]>\[\033[00m\]'</code>
<p>
This configuration removes the <strong>user@hostname</strong> part from the prompt to reduce clutter and highlights the start of the command prompt in bright red for easy identification. I <em>prefer</em> ">" instead of "$".
</p>
<p>
From <strong><em><span class="green-text">[user@hostname ~]$</span></em></strong> to <strong><em><span class="red-text">[~]></span></em></strong>.
</p>
</div>
<footer>
<a href="https://github.com/oceanthunder/lizardwitchy" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" style="vertical-align: middle;">
<path d="M12 .5C5.7.5.5 5.7.5 12c0 5.3 3.4 9.8 8.1 11.4.6.1.8-.3.8-.6v-2.2c-3.3.7-4-1.6-4-1.6-.5-1.3-1.2-1.6-1.2-1.6-.9-.6 0-.6 0-.6 1 0 1.6 1 1.6 1 1.2 2 3.1 1.4 3.9 1 .1-.9.5-1.4.9-1.7-2.7-.3-5.5-1.4-5.5-6.2 0-1.4.5-2.5 1.3-3.4-.1-.3-.6-1.5.1-3.1 0 0 1.1-.4 3.5 1.4 1-.3 2.1-.5 3.2-.5 1.1 0 2.2.2 3.2.5 2.4-1.8 3.5-1.4 3.5-1.4.7 1.6.2 2.8.1 3.1.8.9 1.3 2 1.3 3.4 0 4.8-2.8 5.9-5.5 6.2.5.4.9 1.2.9 2.4v3.6c0 .3.2.7.8.6C20.6 21.3 24 16.8 24 12c0-6.3-5.2-11.5-12-11.5z"/>
</svg>
</a>
</footer>
</body>
</html>