aboutsummaryrefslogtreecommitdiff
path: root/articles/2025/Bash-prompt-without-scripts.html
diff options
context:
space:
mode:
authorPhilip Wittamore <philip@wittamore.com>2026-07-12 11:08:50 +0200
committerPhilip Wittamore <philip@wittamore.com>2026-07-12 11:08:50 +0200
commit420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 (patch)
tree3009f0564d75e3f7d1ca38507e7ebb92deaded07 /articles/2025/Bash-prompt-without-scripts.html
update
Diffstat (limited to 'articles/2025/Bash-prompt-without-scripts.html')
-rwxr-xr-xarticles/2025/Bash-prompt-without-scripts.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/articles/2025/Bash-prompt-without-scripts.html b/articles/2025/Bash-prompt-without-scripts.html
new file mode 100755
index 0000000..cf6c42c
--- /dev/null
+++ b/articles/2025/Bash-prompt-without-scripts.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<html lang="EN">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="/style.css">
+ <title>Bash prompt without scripts</title>
+ </head>
+ <body>
+ <header>
+ <h1>Bloggings</h1>
+ <a href="/index.php">Back</a>
+
+ </header>
+
+<main>
+<article>
+<h2>Bash prompt without scripts</h2>
+<h3>2025-05-06</h3>
+<h4>A pretty prompt in one line of my .bashrc</h4>
+<p>I tried several bash prompt scripts but returned to just having a single line in my .bashrc</p>
+<pre>
+export PS1='\[\e[30;102m\] \A \[\e[92;103m\]\[\e[30m\] \u@\h \[\e[93;107m\]\[\e[30m\] \w \[\e[0;97m\]\n\[\e[0m\]\$ '
+</pre>
+<p><a href="https://bash-prompt-generator.org/">This site is a great generator</a></p>
+<p>I used the base 16 colour palette so that it ends up displayed using the Pywal16 terminal palette.</p>
+<p><img src="/images/blog/bash-prompt-pywal.png"></p>
+</article>
+</main>
+<footer>
+
+<p>&nbsp;</p>
+
+<p>§</p>
+ </footer>
+</body>
+</html>