{"id":153086,"date":"2019-07-29T08:00:20","date_gmt":"2019-07-29T12:00:20","guid":{"rendered":"https:\/\/22f02bbc68.nxcli.net\/?p=153086"},"modified":"2019-07-26T09:50:06","modified_gmt":"2019-07-26T13:50:06","slug":"customize-bash-command-prompt","status":"publish","type":"post","link":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/","title":{"rendered":"Five Ways to Spice Up Your Bash Command Prompt"},"content":{"rendered":"<p>On my first day or two at work, the developer I was pairing with sent me their Bash profile, which I copied, pasted, and forgot. Whenever I cracked open my Bash profile to add a Git alias or two, I would look at the line that describes my Bash command prompt and wince in terror. I rarely changed or thought about my command prompt. Instead, I was careful not to touch it for fear of making some accidental and fatal change.<!--more--><\/p>\n<pre><code class=\"language-bash\">\r\nexport PS1='\\[\\033[01;36m\\]\\u@\\[\\033[01;32m\\]\\h:\\[\\033[33;1m\\]\\w\\[\\033[01;31m\\]$(__git_branch)\\n\\[\\e[01;33m\\]] \\[\\e[00m\\]'\r\n<\/code><\/pre>\n<p>As with most things, once you break it down, it is not that complicated. Here are a few tools to help understand what this garbled mess of numbers and letters means and how to spice it up just how you want it.<\/p>\n<h2>1. Master the Basics<\/h2>\n<p>When you take away all the other complexity, you can see the basic building blocks of the prompt. In this simple example, the user name, host name, and full path to the current working directory are displayed.<\/p>\n<pre><code class=\"language-bash\">\r\nexport PS1='\\u@\\h:\\w'\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-153135 alignnone\" src=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-590x265.png\" alt=\"\" width=\"600\" height=\"270\" srcset=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-590x265.png 590w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-150x67.png 150w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-768x345.png 768w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-1024x460.png 1024w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-600x270.png 600w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic-1200x539.png 1200w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-basic.png 1224w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<ul>\n<li><strong>\\u<\/strong>\u00a0\u2013 User name<\/li>\n<li><strong>\\h<\/strong>\u00a0\u2013 Host name<\/li>\n<li><strong>\\w<\/strong> \u2013 Path of the current working directory<\/li>\n<\/ul>\n<h2>2. Show Git Branch Information<\/h2>\n<p>You can add information about your Git branch to add functionality to your command prompt. Having a quick way to see your current branch will save you time and lots of tears.<\/p>\n<pre><code class=\"language-bash\">\r\nalias __git_branch=\"git branch 2&gt;\/dev\/null | grep '*' | sed 's\/* \\(.*\\)\/(\\1)\/'\"\r\nexport PS1='\\u@\\h:\\w $(__git_branch)'\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-153137\" src=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-590x249.png\" alt=\"\" width=\"609\" height=\"257\" srcset=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-590x249.png 590w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-150x63.png 150w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-768x324.png 768w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-1024x432.png 1024w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-600x253.png 600w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git-1200x506.png 1200w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-git.png 1224w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/p>\n<h2>3. Tell Time<\/h2>\n<p>Use the built-in PS1 codes to include time in your prompt. The following two examples include time in either a 12- or 24-hour format.<\/p>\n<pre><code class=\"language-bash\">\r\nexport PS1='[\\t] \\u@\\h:\\w $(__git_ps1)'\r\nexport PS1='[\\@] \\u@\\h:\\w $(__git_ps1)'\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-153138\" src=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-590x184.png\" alt=\"\" width=\"686\" height=\"214\" srcset=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-590x184.png 590w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-150x47.png 150w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-768x239.png 768w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-1024x319.png 1024w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-600x187.png 600w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time-1200x374.png 1200w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-time.png 1546w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/p>\n<ul>\n<li><strong>\\t<\/strong> \u2013 Time in 24 hour format<\/li>\n<li><strong>\\@<\/strong> \u2013 Time in 12 hour format<\/li>\n<\/ul>\n<h2>4. Use Foreground Colors<\/h2>\n<p>Now, let&#8217;s add in some more spice. Colors help to differentiate various parts of the prompt and are much more interesting to see. Here are two examples with varying degrees of colorization. The first applies the color to the entire prompt, and the second colors individual portions.<\/p>\n<pre><code class=\"language-bash\">\r\nexport PS1='\\e[0;35m[\\t] \\u@\\h:\\w $(__git_ps1)\\e[m'\r\nexport PS1='\\e[1;35m[\\t]\\e[m \\e[1;36m\\u@\\e[m\\e[1;32m\\h:\\e[m\\e[33;1m\\w\\e[m \\e[1;31m$(__git_ps1)\\e[m\\n\\[\\e[01;33m\\]] \\[\\e[00m\\]'\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-153145\" src=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-590x197.png\" alt=\"\" width=\"674\" height=\"225\" srcset=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-590x197.png 590w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-150x50.png 150w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-768x256.png 768w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-1024x342.png 1024w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-600x200.png 600w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors-1200x401.png 1200w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-colors.png 1546w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/p>\n<ul>\n<li><strong>\\e[<\/strong> \u2013 Beginning of color prompt<\/li>\n<li><strong>x;ym<\/strong> (e.g. 0;33m) \u2013 Indicates color code. See color codes below.<\/li>\n<li><strong>\\e[m<\/strong> \u2013 End of color prompt<\/li>\n<\/ul>\n<pre><code class=\"language-bash\">\r\nForeground Color Codes:\r\nBlack 0;30\r\nRed 0;31\r\nGreen 0;32\r\nBrown 0;33\r\nBlue 0;34\r\nPurple 0;35\r\nCyan 0;36\r\nLight Gray 0;37\r\n[Tip: Use 1 instead of 0 for light color]\r\n<\/code><\/pre>\n<p>Read more about finding your perfect colors <a href=\"https:\/\/www.shellhacks.com\/bash-colors\/\">here<\/a>.<\/p>\n<h2>5. Add Background Colors<\/h2>\n<p>If you want to add even more color, it is possible to define background colors with the same syntax outlined above using background color codes. The examples show one background for the entire prompt and for only a portion.<\/p>\n<pre><code class=\"language-bash\">\r\nexport PS1='\\e[41m[\\t] \\u@\\h:\\w $(__git_ps1)\\e[m'\r\nexport PS1='\\e[1;35m[\\t]\\e[m \\e[1;36m\\u@\\e[m\\e[1;32m\\h:\\e[m\\e[33;1m\\w\\e[m \\e[1;41m$(__git_ps1)\\e[m\\n\\[\\e[01;33m\\]] \\[\\e[00m\\]'\r\n<\/code><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-153148\" src=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-590x197.png\" alt=\"\" width=\"698\" height=\"233\" srcset=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-590x197.png 590w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-150x50.png 150w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-768x256.png 768w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-1024x342.png 1024w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-600x200.png 600w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors-1200x401.png 1200w, https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-prof-bg-colors.png 1546w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/p>\n<pre><code class=\"language-bash\">\r\nBackground Color Codes:\r\nBlack 0;40\r\nRed 0;41\r\nGreen 0;42\r\nBrown 0;43\r\nBlue 0;44\r\nPurple 0;45\r\nCyan 0;46\r\nWhite 0;47\r\n[Tip: Use 1 instead of 0 for light color]\r\n<\/code><\/pre>\n<hr \/>\n<p>I have only scratched the surface of functionalities you can include in your prompt. With these tools, you&#8217;ll be able to delve deeper and customize your prompt any way you like it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On my first day or two at work, the developer I was pairing with sent me their Bash profile, which I copied, pasted, and forgot. Whenever I cracked open my Bash profile to add a Git alias or two, I would look at the line that describes my Bash command prompt and wince in terror. [&hellip;]<\/p>\n","protected":false},"author":561,"featured_media":153385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1691],"tags":[1006],"series":[],"class_list":["post-153086","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-bash"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>5 Ways to Customize your Bash Command Prompt<\/title>\n<meta name=\"description\" content=\"With these tools, you&#039;ll be able to delve deeper and customize your Bash prompt to just how you like it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"5 Ways to Customize your Bash Command Prompt\" \/>\n<meta property=\"og:description\" content=\"With these tools, you&#039;ll be able to delve deeper and customize your Bash prompt to just how you like it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/\" \/>\n<meta property=\"og:site_name\" content=\"Atomic Spin\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/atomicobject\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-29T12:00:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-customize.png\" \/>\n\t<meta property=\"og:image:width\" content=\"599\" \/>\n\t<meta property=\"og:image:height\" content=\"391\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Meredith Lind\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@atomicobject\" \/>\n<meta name=\"twitter:site\" content=\"@atomicobject\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Meredith Lind\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/\"},\"author\":{\"name\":\"Meredith Lind\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/person\\\/81085099e89696f75ab4721a8052a255\"},\"headline\":\"Five Ways to Spice Up Your Bash Command Prompt\",\"datePublished\":\"2019-07-29T12:00:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/\"},\"wordCount\":413,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/atomicobject.com\\\/\"},\"image\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/bash-customize.png\",\"keywords\":[\"bash\"],\"articleSection\":[\"DevOps &amp; System Admin.\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/\",\"name\":\"5 Ways to Customize your Bash Command Prompt\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/bash-customize.png\",\"datePublished\":\"2019-07-29T12:00:20+00:00\",\"description\":\"With these tools, you'll be able to delve deeper and customize your Bash prompt to just how you like it.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/customize-bash-command-prompt\\\/#primaryimage\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/bash-customize.png\",\"contentUrl\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/bash-customize.png\",\"width\":599,\"height\":391},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#website\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/\",\"name\":\"Atomic Spin\",\"description\":\"Atomic Object\u2019s blog on everything we find fascinating.\",\"publisher\":{\"@id\":\"https:\\\/\\\/atomicobject.com\\\/\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/spin.atomicobject.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#organization\",\"name\":\"Atomic Object\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/AO-Logo-Emblem-Color.png\",\"contentUrl\":\"https:\\\/\\\/spin.atomicobject.com\\\/wp-content\\\/uploads\\\/AO-Logo-Emblem-Color.png\",\"width\":258,\"height\":244,\"caption\":\"Atomic Object\"},\"image\":{\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/atomicobject\",\"https:\\\/\\\/x.com\\\/atomicobject\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/spin.atomicobject.com\\\/#\\\/schema\\\/person\\\/81085099e89696f75ab4721a8052a255\",\"name\":\"Meredith Lind\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/37ab5b636e36776be2a689f138e38d19f2c6882670360894bbd165d45635a34c?s=96&d=blank&r=pg\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/37ab5b636e36776be2a689f138e38d19f2c6882670360894bbd165d45635a34c?s=96&d=blank&r=pg\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/37ab5b636e36776be2a689f138e38d19f2c6882670360894bbd165d45635a34c?s=96&d=blank&r=pg\",\"caption\":\"Meredith Lind\"},\"description\":\"Software Consultant &amp; Developer at Atomic Object Grand Rapids. Member of Cell Two of the Accelerator Program.\",\"url\":\"https:\\\/\\\/spin.atomicobject.com\\\/author\\\/meredith-lind\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"5 Ways to Customize your Bash Command Prompt","description":"With these tools, you'll be able to delve deeper and customize your Bash prompt to just how you like it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/","og_locale":"en_US","og_type":"article","og_title":"5 Ways to Customize your Bash Command Prompt","og_description":"With these tools, you'll be able to delve deeper and customize your Bash prompt to just how you like it.","og_url":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/","og_site_name":"Atomic Spin","article_publisher":"https:\/\/www.facebook.com\/atomicobject","article_published_time":"2019-07-29T12:00:20+00:00","og_image":[{"width":599,"height":391,"url":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-customize.png","type":"image\/png"}],"author":"Meredith Lind","twitter_card":"summary_large_image","twitter_creator":"@atomicobject","twitter_site":"@atomicobject","twitter_misc":{"Written by":"Meredith Lind","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/#article","isPartOf":{"@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/"},"author":{"name":"Meredith Lind","@id":"https:\/\/spin.atomicobject.com\/#\/schema\/person\/81085099e89696f75ab4721a8052a255"},"headline":"Five Ways to Spice Up Your Bash Command Prompt","datePublished":"2019-07-29T12:00:20+00:00","mainEntityOfPage":{"@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/"},"wordCount":413,"commentCount":0,"publisher":{"@id":"https:\/\/atomicobject.com\/"},"image":{"@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/#primaryimage"},"thumbnailUrl":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-customize.png","keywords":["bash"],"articleSection":["DevOps &amp; System Admin."],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/","url":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/","name":"5 Ways to Customize your Bash Command Prompt","isPartOf":{"@id":"https:\/\/spin.atomicobject.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/#primaryimage"},"image":{"@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/#primaryimage"},"thumbnailUrl":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-customize.png","datePublished":"2019-07-29T12:00:20+00:00","description":"With these tools, you'll be able to delve deeper and customize your Bash prompt to just how you like it.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/spin.atomicobject.com\/customize-bash-command-prompt\/#primaryimage","url":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-customize.png","contentUrl":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/bash-customize.png","width":599,"height":391},{"@type":"WebSite","@id":"https:\/\/spin.atomicobject.com\/#website","url":"https:\/\/spin.atomicobject.com\/","name":"Atomic Spin","description":"Atomic Object\u2019s blog on everything we find fascinating.","publisher":{"@id":"https:\/\/atomicobject.com\/"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/spin.atomicobject.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/spin.atomicobject.com\/#organization","name":"Atomic Object","url":"https:\/\/spin.atomicobject.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/spin.atomicobject.com\/#\/schema\/logo\/image\/","url":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/AO-Logo-Emblem-Color.png","contentUrl":"https:\/\/spin.atomicobject.com\/wp-content\/uploads\/AO-Logo-Emblem-Color.png","width":258,"height":244,"caption":"Atomic Object"},"image":{"@id":"https:\/\/spin.atomicobject.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/atomicobject","https:\/\/x.com\/atomicobject"]},{"@type":"Person","@id":"https:\/\/spin.atomicobject.com\/#\/schema\/person\/81085099e89696f75ab4721a8052a255","name":"Meredith Lind","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/37ab5b636e36776be2a689f138e38d19f2c6882670360894bbd165d45635a34c?s=96&d=blank&r=pg","url":"https:\/\/secure.gravatar.com\/avatar\/37ab5b636e36776be2a689f138e38d19f2c6882670360894bbd165d45635a34c?s=96&d=blank&r=pg","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/37ab5b636e36776be2a689f138e38d19f2c6882670360894bbd165d45635a34c?s=96&d=blank&r=pg","caption":"Meredith Lind"},"description":"Software Consultant &amp; Developer at Atomic Object Grand Rapids. Member of Cell Two of the Accelerator Program.","url":"https:\/\/spin.atomicobject.com\/author\/meredith-lind\/"}]}},"_links":{"self":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/posts\/153086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/users\/561"}],"replies":[{"embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/comments?post=153086"}],"version-history":[{"count":0,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/posts\/153086\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/media\/153385"}],"wp:attachment":[{"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/media?parent=153086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/categories?post=153086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/tags?post=153086"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/spin.atomicobject.com\/wp-json\/wp\/v2\/series?post=153086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}