{"id":15907,"date":"2019-06-17T14:26:17","date_gmt":"2019-06-17T14:26:17","guid":{"rendered":"https:\/\/www.bartbusschots.ie\/s\/?p=15907"},"modified":"2019-06-17T14:26:17","modified_gmt":"2019-06-17T14:26:17","slug":"moving-from-bash-to-zsh-on-macos","status":"publish","type":"post","link":"https:\/\/www.bartbusschots.ie\/s\/2019\/06\/17\/moving-from-bash-to-zsh-on-macos\/","title":{"rendered":"Moving from Bash to Zsh on macOS"},"content":{"rendered":"<div class=\"pps-series-post-details pps-series-post-details-variant-classic pps-series-post-details-18702\" data-series-id=\"581\"><div class=\"pps-series-meta-content\"><div class=\"pps-series-meta-text\">This entry is part 1 of 6 in the series <a href=\"https:\/\/www.bartbusschots.ie\/s\/series\/bash-to-zsh\/\">Bash to Zsh<\/a><\/div><\/div><\/div><p>During their 2019 World Wide Developers Conference (<a href=\"https:\/\/developer.apple.com\/wwdc19\/\" rel=\"noopener noreferrer\" target=\"_blank\">WWDC 2019<\/a>) Apple announced that the default command shell for their next OS release (<a href=\"https:\/\/en.wikipedia.org\/wiki\/MacOS_Catalina\" rel=\"noopener noreferrer\" target=\"_blank\">macOS Catalina<\/a>) from the <i>Bourne Again Shell<\/i> (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Bash_(Unix_shell)\" rel=\"noopener noreferrer\" target=\"_blank\">Bash<\/a>) to the <i>Z Shell<\/i> (<a href=\"https:\/\/en.wikipedia.org\/wiki\/Z_shell\" rel=\"noopener noreferrer\" target=\"_blank\">Zsh<\/a>). Not only will Apple be switching the default in Catalina, they will be removing Bash completely in an as-yet unspecified future update. <a href=\"https:\/\/support.apple.com\/en-us\/HT208050\" rel=\"noopener noreferrer\" target=\"_blank\">Apple&#8217;s advice is clear \u00e2\u20ac\u201d make the switch now<\/a> so you&#8217;re ready!<\/p>\n<p>Never being one to try hold back the tide, I dove right in and made the switch within 5 minutes of reading about the announcement. This series will document my experience of making the change.<\/p>\n<p><!--more--><\/p>\n<h2>Changing Your Login Shell to Zsh on macOS Mojave<\/h2>\n<p>To change your login shell from Bash to Zsh on versions of macOS before the yet-to-be-released macOS Catalina you&#8217;ll need to do the following:<\/p>\n<ol>\n<li>Open <i>System Preferences<\/i>.<\/li>\n<li>Select <i>Users &#038; Groups<\/i>.<\/li>\n<li>Make sure the lock on the bottom of the <i>Users &#038; Groups<\/i> preference pane is unlocked.<\/li>\n<li>Right-click on your account in the left side-bar and select <\/i>Advanced Options\u00e2\u20ac\u00a6<\/i><\/li>\n<li>In the <i>Advanced Options<\/i> sheet change the <i>Login Shell<\/I> dropdown from <code>\/bin\/bash<\/code> to <code>\/bin\/zsh<\/code>.<\/li>\n<li>Click <i>OK<\/i> to dismiss the <i>Advanced Options<\/i> sheet.<\/li>\n<\/ol>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/www.bartbusschots.ie\/s\/wp-content\/uploads\/2019\/06\/Screenshot-2019-06-17-at-13.32.15.png\" alt=\"\" width=\"480\" class=\"alignnone size-full wp-image-15909\" style=\"border: 1px solid black\" \/><\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/www.bartbusschots.ie\/s\/wp-content\/uploads\/2019\/06\/Screenshot-2019-06-17-at-13.32.43.png\" alt=\"\" width=\"480\" class=\"alignnone size-full wp-image-15910\" style=\"border: 1px solid black\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"pps-series-post-details pps-series-post-details-variant-classic pps-series-post-details-18702 pps-series-meta-excerpt\" data-series-id=\"581\"><div class=\"pps-series-meta-content\"><div class=\"pps-series-meta-text\">This entry is part 1 of 6 in the series <a href=\"https:\/\/www.bartbusschots.ie\/s\/series\/bash-to-zsh\/\">Bash to Zsh<\/a><\/div><\/div><\/div><p>During their 2019 World Wide Developers Conference (WWDC 2019) Apple announced that the default command shell for their next OS release (macOS Catalina) from the Bourne Again Shell (Bash) to the Z Shell (Zsh). Not only will Apple be switching the default in Catalina, they will be removing Bash completely in an as-yet unspecified future [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[12,446],"tags":[414,406,549,458,580],"series":[581],"class_list":["post-15907","post","type-post","status-publish","format-standard","hentry","category-computers-tech","category-sysadmin","tag-bash","tag-commandline","tag-macos","tag-tutorial","tag-zsh","series-bash-to-zsh"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7t9xK-48z","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/15907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/comments?post=15907"}],"version-history":[{"count":2,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/15907\/revisions"}],"predecessor-version":[{"id":15911,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/15907\/revisions\/15911"}],"wp:attachment":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/media?parent=15907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/categories?post=15907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/tags?post=15907"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/series?post=15907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}