{"id":360,"date":"2022-12-03T03:22:07","date_gmt":"2022-12-03T03:22:07","guid":{"rendered":"https:\/\/jassweb.com\/new22\/solved-installed-ohmyzsh-but-its-loading-bash\/"},"modified":"2022-12-03T03:22:07","modified_gmt":"2022-12-03T03:22:07","slug":"solved-installed-ohmyzsh-but-its-loading-bash-2","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/","title":{"rendered":"[Solved] Installed OhMyZsh but its loading Bash"},"content":{"rendered":"<h2> Introduction <\/h2>\n<p>[ad_1]<\/p>\n<p>If you have recently installed OhMyZsh but it is loading Bash instead, you may be feeling frustrated and confused. Don&#8217;t worry, this is a common issue and can be easily solved. In this article, we will discuss the steps you can take to get OhMyZsh up and running. We will also discuss some of the common causes of this issue and how to prevent it from happening in the future. By the end of this article, you should have a better understanding of how to get OhMyZsh working properly.<\/p>\n<h2> Solution<\/h2>\n<p><\/p>\n<p>If you have installed OhMyZsh but it is loading Bash instead, you can try the following steps to resolve the issue:<\/p>\n<p>1. Check your default shell:<br \/>\nRun the command \u2018echo $SHELL\u2019 in your terminal. If it returns \u2018\/bin\/bash\u2019, then your default shell is Bash.<\/p>\n<p>2. Change your default shell:<br \/>\nRun the command \u2018chsh -s \/bin\/zsh\u2019 in your terminal. This will change your default shell to Zsh.<\/p>\n<p>3. Restart your terminal:<br \/>\nClose and reopen your terminal to apply the changes.<\/p>\n<p>4. Check if OhMyZsh is loading:<br \/>\nRun the command \u2018echo $SHELL\u2019 in your terminal. If it returns \u2018\/bin\/zsh\u2019, then your default shell is now Zsh and OhMyZsh should be loading. <\/p>\n<p><\/p>\n<div class=\"entry-content\" itemprop=\"text\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1088640234840270\" crossorigin=\"anonymous\"><\/script><br \/>\n<script><\/p>\n<p><\/script><\/p>\n<p><\/p>\n<div id=\"answer-31766717\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"31766717\" data-parentid=\"31766220\" data-score=\"1\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Two choices:<\/p>\n<p>1) Change the user login default shell to zsh:<\/p>\n<pre><code>chsh -s \/bin\/zsh\n<\/code><\/pre>\n<p>See the man page for details:<\/p>\n<pre><code>man chsh\n<\/code><\/pre>\n<p>2) Keep the login default shell, but assign zsh to one of your iTerm\u2019s profile (assuming you want to do that to the default profile)<\/p>\n<p>Open <code>iTerm Preferences<\/code><\/p>\n<p>Select your default profile (the star\u2019d one)<\/p>\n<p>Go to <code>General<\/code> tab (property page)<\/p>\n<p>In the <code>Command<\/code> section, change the selection from <code>Login Shell<\/code> to <code>Command<\/code><\/p>\n<p>Type\/Assign <code>zsh<\/code> in the <code>Command<\/code> field.<\/p>\n<p>Any time you create a new iTerm shell using this profile, you will get zsh instead of your login shell (i.e. bash). You can have create multiple profiles and assign zsh, bash, etc\u2026 to the <code>Command<\/code>\u2026, your choice.<\/p>\n<\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p> <span class=\"d-none\" itemprop=\"commentCount\">0<\/span> <\/p>\n<\/div>\n<\/div>\n<p>solved Installed OhMyZsh but its loading Bash <\/p>\n<p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1088640234840270\" crossorigin=\"anonymous\"><\/script><br \/>\n<script><\/p>\n<p><\/script><\/div>\n<p>[ad_2]<\/p>\n<p>If you have installed OhMyZsh but it is still loading Bash, there are a few steps you can take to resolve the issue. First, make sure that you have installed OhMyZsh correctly. You can do this by running the command <code>zsh --version<\/code> in your terminal. If the version number is displayed, then you have installed OhMyZsh correctly.<\/p>\n<p>Next, you need to make sure that OhMyZsh is set as your default shell. To do this, run the command <code>chsh -s $(which zsh)<\/code>. This will set OhMyZsh as your default shell. You may need to log out and log back in for the changes to take effect.<\/p>\n<p>Finally, you need to make sure that OhMyZsh is properly configured. To do this, open the <code>.zshrc<\/code> file in your home directory. This file contains the configuration settings for OhMyZsh. Make sure that the <code>ZSH_THEME<\/code> variable is set to the theme you want to use. You can also customize other settings in this file.<\/p>\n<p>Once you have completed these steps, OhMyZsh should be loading correctly. If you are still having issues, you can try reinstalling OhMyZsh or looking for help on the OhMyZsh forums.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction [ad_1] If you have recently installed OhMyZsh but it is loading Bash instead, you may be feeling frustrated and confused. Don&#8217;t worry, this is a common issue and can be easily solved. In this article, we will discuss the steps you can take to get OhMyZsh up and running. We will also discuss some &#8230; <a title=\"[Solved] Installed OhMyZsh but its loading Bash\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\" aria-label=\"More on [Solved] Installed OhMyZsh but its loading Bash\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[5187,5186],"class_list":["post-360","post","type-post","status-publish","format-standard","hentry","category-solved","tag-iterm","tag-osx-yosemite"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] Installed OhMyZsh but its loading Bash - JassWeb<\/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:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] Installed OhMyZsh but its loading Bash - JassWeb\" \/>\n<meta property=\"og:description\" content=\"Introduction [ad_1] If you have recently installed OhMyZsh but it is loading Bash instead, you may be feeling frustrated and confused. Don&#8217;t worry, this is a common issue and can be easily solved. In this article, we will discuss the steps you can take to get OhMyZsh up and running. We will also discuss some ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-03T03:22:07+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\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:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] Installed OhMyZsh but its loading Bash\",\"datePublished\":\"2022-12-03T03:22:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\"},\"wordCount\":503,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"iterm\",\"osx-yosemite\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\",\"name\":\"[Solved] Installed OhMyZsh but its loading Bash - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-12-03T03:22:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] Installed OhMyZsh but its loading Bash\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] Installed OhMyZsh but its loading Bash - JassWeb","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:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] Installed OhMyZsh but its loading Bash - JassWeb","og_description":"Introduction [ad_1] If you have recently installed OhMyZsh but it is loading Bash instead, you may be feeling frustrated and confused. Don&#8217;t worry, this is a common issue and can be easily solved. In this article, we will discuss the steps you can take to get OhMyZsh up and running. We will also discuss some ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/","og_site_name":"JassWeb","article_published_time":"2022-12-03T03:22:07+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] Installed OhMyZsh but its loading Bash","datePublished":"2022-12-03T03:22:07+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/"},"wordCount":503,"commentCount":0,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["iterm","osx-yosemite"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/","url":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/","name":"[Solved] Installed OhMyZsh but its loading Bash - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-12-03T03:22:07+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-installed-ohmyzsh-but-its-loading-bash-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] Installed OhMyZsh but its loading Bash"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=360"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/360\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}