{"id":1897,"date":"2009-04-01T11:35:22","date_gmt":"2009-04-01T15:35:22","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=1897"},"modified":"2009-04-01T11:35:31","modified_gmt":"2009-04-01T15:35:31","slug":"slow-opening-terminal-windows","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2009\/04\/01\/slow-opening-terminal-windows\/","title":{"rendered":"Slow-Opening Terminal Windows"},"content":{"rendered":"<p><tt>\/usr\/libexec\/path_helper<\/tt>, which Mac OS X runs every time a login shell is created, is really slow. (In particular, I think the slowness is in <code>[[ \"$NEWPATH\" = *(*:)${p}*(:*) ]]<\/code>.) My Terminal windows were taking about four seconds to open. By removing the files in <tt>\/etc\/paths.d<\/tt> and putting their contents directly into my <code>$PATH<\/code> in <tt>.bash_profile<\/tt>, Terminal windows now load instantly.<\/p>","protected":false},"excerpt":{"rendered":"<p>\/usr\/libexec\/path_helper, which Mac OS X runs every time a login shell is created, is really slow. (In particular, I think the slowness is in [[ \"$NEWPATH\" = *(*:)${p}*(:*) ]].) My Terminal windows were taking about four seconds to open. By removing the files in \/etc\/paths.d and putting their contents directly into my $PATH in .bash_profile, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1897","post","type-post","status-publish","format-standard","hentry","category-technology"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=1897"}],"version-history":[{"count":0,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/1897\/revisions"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=1897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=1897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=1897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}