{"id":2306,"date":"2020-03-21T12:14:45","date_gmt":"2020-03-21T11:14:45","guid":{"rendered":"https:\/\/denbeke.be\/blog\/?p=2306"},"modified":"2020-03-21T13:17:42","modified_gmt":"2020-03-21T12:17:42","slug":"configure-fish-with-bobthefish-and-nerd-fonts-on-mac","status":"publish","type":"post","link":"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/","title":{"rendered":"Configure Fish with &#8216;bobthefish&#8217; and &#8216;nerd fonts&#8217; on Mac"},"content":{"rendered":"\n<p>The first thing I do on a new Mac is configuring the terminal and shell. I always install <em>Fish<\/em> and <em>bobthefish<\/em> with patched <em>nerd fonts<\/em>. If you follow the steps in this blogpost, you will have a nice looking shell like mine:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"571\" height=\"406\" src=\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/fish-bobthefish-nerd-fonts.png\" alt=\"\" class=\"wp-image-2308\" srcset=\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/fish-bobthefish-nerd-fonts.png 571w, https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/fish-bobthefish-nerd-fonts-300x213.png 300w\" sizes=\"(max-width: 571px) 100vw, 571px\" \/><\/figure><\/div>\n\n\n\n<h3>Install Homebrew<\/h3>\n\n\n\n<p>If you haven&#8217;t installed Homebrew yet, head over to <a rel=\"noreferrer noopener\" aria-label=\"brew.sh (opens in a new tab)\" href=\"https:\/\/brew.sh\" target=\"_blank\">brew.sh<\/a> to install it on your Mac.<\/p>\n\n\n\n<h3>Install Fish<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>$ brew install fish<\/code><\/pre>\n\n\n\n<p>In order to make fish your default shell, add <code>\/usr\/local\/bin\/fish<\/code> to <code>\/etc\/shells<\/code> , and execute <code>chsh -s \/usr\/local\/bin\/fish<\/code> . If not, then you can always type <code>fish<\/code> in bash .<\/p>\n\n\n\n<h3>Install Oh My Fish<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>$ curl&nbsp;-L&nbsp;https:\/\/get.oh-my.fish&nbsp;|&nbsp;fish<\/code><\/pre>\n\n\n\n<p>More info about <em>Oh My Fish<\/em> can be found here: <a rel=\"noreferrer noopener\" aria-label=\"github.com\/oh-my-fish\/oh-my-fish (opens in a new tab)\" href=\"https:\/\/github.com\/oh-my-fish\/oh-my-fish\" target=\"_blank\">github.com\/oh-my-fish\/oh-my-fish<\/a>.<\/p>\n\n\n\n<h3>Install bobthefish<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>$ omf&nbsp;install&nbsp;bobthefish<\/code><\/pre>\n\n\n\n<p>To make best use of bobthefish you must <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/github.com\/ryanoasis\/nerd-fonts\" target=\"_blank\">nerd fonts patched font<\/a> fonts. These fonts add icons and symbols to your shell:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>$ set&nbsp;-g&nbsp;theme_nerd_fonts&nbsp;yes<\/code><\/pre>\n\n\n\n<p>More info about <em>bobthefish<\/em> can be found here: <a rel=\"noreferrer noopener\" aria-label=\"github.com\/oh-my-fish\/theme-bobthefish (opens in a new tab)\" href=\"https:\/\/github.com\/oh-my-fish\/theme-bobthefish\" target=\"_blank\">github.com\/oh-my-fish\/theme-bobthefish<\/a>.<\/p>\n\n\n\n<h3>Install nerd fonts<\/h3>\n\n\n\n<p>To install the nerd fonts that we have activated for bobthefish we can use Homebrew:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>$ brew&nbsp;tap&nbsp;homebrew\/cask-fonts\n$ brew&nbsp;cask&nbsp;install&nbsp;font-hack-nerd-font<\/code><\/pre>\n\n\n\n<h2>Enable nerd fonts in the terminal profile<\/h2>\n\n\n\n<p>Don&#8217;t forget to enable the patched nerd fonts in your terminal profile:<\/p>\n\n\n\n<ol><li>Go to the preferences of the Terminal app.<\/li><li>Choose your default profile.<\/li><li>Change the font to <em>Hack Nerd Font<\/em> (regular).<\/li><\/ol>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"807\" height=\"701\" src=\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/Mac-Terminal-profile-nerd-fonts.png\" alt=\"\" class=\"wp-image-2307\" srcset=\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/Mac-Terminal-profile-nerd-fonts.png 807w, https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/Mac-Terminal-profile-nerd-fonts-300x261.png 300w, https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/Mac-Terminal-profile-nerd-fonts-768x667.png 768w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/figure><\/div>\n\n\n\n<p>Now you&#8217;re all set. Open a new terminal window and enjoy a good looking shell!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first thing I do on a new Mac is configuring the terminal and shell. I always install Fish and bobthefish with patched nerd fonts. If you follow the steps in this blogpost, you will have a nice looking shell like mine: Install Homebrew If you haven&#8217;t installed Homebrew yet, head over to brew.sh to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[114,235],"tags":[283,284,125,266,202],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.6.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configure Fish with &#039;bobthefish&#039; and &#039;nerd fonts&#039; on Mac &ndash; DenBeke<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configure Fish with &#039;bobthefish&#039; and &#039;nerd fonts&#039; on Mac &ndash; DenBeke\" \/>\n<meta property=\"og:description\" content=\"The first thing I do on a new Mac is configuring the terminal and shell. I always install Fish and bobthefish with patched nerd fonts. If you follow the steps in this blogpost, you will have a nice looking shell like mine: Install Homebrew If you haven&#8217;t installed Homebrew yet, head over to brew.sh to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/\" \/>\n<meta property=\"og:site_name\" content=\"DenBeke\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-21T11:14:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-21T12:17:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/fish-bobthefish-nerd-fonts.png\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@MthsBk\" \/>\n<meta name=\"twitter:site\" content=\"@MthsBk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/denbeke.be\/blog\/#website\",\"url\":\"https:\/\/denbeke.be\/blog\/\",\"name\":\"DenBeke\",\"description\":\"Mathias Beke\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/denbeke.be\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/denbeke.be\/blog\/wp-content\/uploads\/2020\/03\/fish-bobthefish-nerd-fonts.png\",\"width\":571,\"height\":406},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/#webpage\",\"url\":\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/\",\"name\":\"Configure Fish with 'bobthefish' and 'nerd fonts' on Mac &ndash; DenBeke\",\"isPartOf\":{\"@id\":\"https:\/\/denbeke.be\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/#primaryimage\"},\"datePublished\":\"2020-03-21T11:14:45+00:00\",\"dateModified\":\"2020-03-21T12:17:42+00:00\",\"author\":{\"@id\":\"https:\/\/denbeke.be\/blog\/#\/schema\/person\/386878f712fe3fe22227216f087772dc\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/denbeke.be\/blog\/mac\/configure-fish-with-bobthefish-and-nerd-fonts-on-mac\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/denbeke.be\/blog\/#\/schema\/person\/386878f712fe3fe22227216f087772dc\",\"name\":\"Mathias Beke\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/denbeke.be\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/015ba35e6ce4f5859e3888ca99807575?s=96&d=mm&r=g\",\"caption\":\"Mathias Beke\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/2306"}],"collection":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/comments?post=2306"}],"version-history":[{"count":3,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/2306\/revisions"}],"predecessor-version":[{"id":2311,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/posts\/2306\/revisions\/2311"}],"wp:attachment":[{"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/media?parent=2306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/categories?post=2306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denbeke.be\/blog\/wp-json\/wp\/v2\/tags?post=2306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}