{"id":1665,"date":"2022-07-21T18:03:07","date_gmt":"2022-07-21T10:03:07","guid":{"rendered":"https:\/\/pjq.me\/?p=1665"},"modified":"2022-07-26T14:53:53","modified_gmt":"2022-07-26T06:53:53","slug":"build-the-fancy-iterm2","status":"publish","type":"post","link":"https:\/\/pjq.me\/?p=1665","title":{"rendered":"Build the fancy iTerm2"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/pjq.me\/?p=1665\/#Install_iTerm2\" >Install iTerm2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/pjq.me\/?p=1665\/#Install_oh_my_zsh\" >Install oh my zsh<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/pjq.me\/?p=1665\/#Install_Plugins\" >Install Plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/pjq.me\/?p=1665\/#Install_autojump\" >Install autojump<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/pjq.me\/?p=1665\/#Install_zsh-syntax-highlight\" >Install zsh-syntax-highlight<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/pjq.me\/?p=1665\/#Themes\" >Themes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/pjq.me\/?p=1665\/#Install_thefuck\" >Install thefuck<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/pjq.me\/?p=1665\/#Fonts\" >Fonts<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/pjq.me\/?p=1665\/#zshrc_config_file\" >.zshrc config file<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_iTerm2\"><\/span>Install iTerm2<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before to build the fancy Terminal, it need to install the iTerm first.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/iterm2.com\/index.html<\/li><\/ul>\n\n\n\n<p>The config file will be ~\/.zshrc, so for the themes and plugins, need to update this config file accordingly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_oh_my_zsh\"><\/span>Install oh my zsh<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/github.com\/ohmyzsh\/ohmyzsh<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sh -c \"$(curl -fsSL https:\/\/raw.githubusercontent.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_Plugins\"><\/span>Install Plugins<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/marlonrichert\/zsh-autocomplete\">https:\/\/github.com\/marlonrichert\/zsh-autocomplete<\/a><\/li><li>https:\/\/github.com\/zsh-users\/zsh-autosuggestions<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_autojump\"><\/span>Install autojump<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/github.com\/wting\/autojump<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>brew install autojump<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_zsh-syntax-highlight\"><\/span>Install zsh-syntax-highlight<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/zsh-users\/zsh-syntax-highlighting\/blob\/master\/INSTALL.md\">https:\/\/github.com\/zsh-users\/zsh-syntax-highlighting\/blob\/master\/INSTALL.md<\/a><\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/zsh-users\/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~\/.oh-my-zsh\/custom}\/plugins\/zsh-syntax-highlighting\nplugins=( &#91;plugins...] zsh-syntax-highlighting)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Themes\"><\/span>Themes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/ohmyzsh\/ohmyzsh\/wiki\/External-themes\">https:\/\/github.com\/ohmyzsh\/ohmyzsh\/wiki\/External-themes<\/a><\/li><\/ul>\n\n\n\n<p>I choose this some<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/github.com\/ChesterYue\/ohmyzsh-theme-passion<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Install_thefuck\"><\/span>Install thefuck<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>brew install thefuck<\/strong># After installation, add these two lines to your <strong><em>.zshrc<\/em><\/strong> file<br>eval \"$(thefuck --alias)\"<br>alias fuck='fuck -y'<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Fonts\"><\/span>Fonts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Install the Fonts<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>https:\/\/github.com\/powerline\/fonts<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># clone\ngit clone https:\/\/github.com\/powerline\/fonts.git --depth=1\n# install\ncd fonts\n.\/install.sh\n# clean-up a bit\ncd ..\nrm -rf fonts<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"zshrc_config_file\"><\/span>.zshrc config file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>export ZSH=\"$HOME\/.oh-my-zsh\"\nZSH_THEME=\"random\"\nZSH_THEME=\"wedisagree\"\nZSH_THEME=\"apple\"\nZSH_THEME=\"simple\"\nZSH_THEME=\"eastwood\"\nZSH_THEME=\"agnoster\"\nZSH_THEME=\"passion\"\nplugins=(git)\nsource $ZSH\/oh-my-zsh.sh\nplugins=(git textmate ruby autojump osx mvn gradle adb common-aliases jira vagrant zsh-autosuggestions zsh-syntax-highlighting)\nalias vim=\"nvim\"\nalias cls='clear'\nalias ll='ls -l'\nalias la='ls -a'\nalias vi='vim'\nalias javac=\"javac -J-Dfile.encoding=utf8\"\nalias grep=\"grep --color=auto\"\nalias -s html=nvim\nalias -s rb=nvim\nalias -s py=nvim\nalias -s js=nvim\nalias -s c=nvim\nalias -s java=nvim\nalias -s txt=nvim\nalias -s xml=nvim\nalias -s gradle=nvim\nalias -s md=nvim\nalias -s gz='tar -xzvf'\nalias -s tgz='tar -xzvf'\nalias -s zip='unzip'\nalias -s bz2='tar -xjvf'\n&#91;&#91; -s $(brew --prefix)\/etc\/profile.d\/autojump.sh ]] &amp;&amp; . $(brew --prefix)\/etc\/profile.d\/autojump.sh\nexport PATH=\"${PATH}:${HOME}\/Library\/Android\/sdk\/emulator\/\"\nexport PATH=\"${PATH}:${HOME}\/Library\/Android\/sdk\/platform-tools\"\nexport PATH=\"${PATH}:${HOME}\/Library\/Android\/sdk\/tools\"\nexport PATH=\"${PATH}:${HOME}\/Library\/Android\/sdk\/tools\/bin\/\"\nexport PATH=\"${PATH}:\/Library\/Android\/sdk\/build-tools\/31.0.0-rc3\/\"\nexport PATH=\"${PATH}:\/usr\/local\/opt\/gnu-sed\/bin\"\nexport PATH=\"${PATH}:\/usr\/local\/bin\"\nexport ANDROID_HOME=\"${HOME}\/Library\/Android\/sdk\"\nexport ANDROID_SDK_ROOT=${ANDROID_HOME}\nzstyle ':completion:*:*:git:*' script ~\/.git-completion.zsh\nexport CUDA_HOME=\/usr\/local\/cuda\nexport DYLD_LIBRARY_PATH=\"$DYLD_LIBRARY_PATH:$CUDA_HOME\/lib\"\nexport PATH=\"$CUDA_HOME\/bin:$PATH\"\nexport LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:\/usr\/local\/cuda\/lib64:\/usr\/local\/cuda\/extras\/CUPTI\/lib64\"\nalias sf_adbforward=\"adb forward tcp:8080 tcp:8080 &amp;&amp; adb forward tcp:14023 tcp:14023\"\nalias ginstall=\"cd ${HOME}\/workspace\/androidrepo &amp;&amp; .\/gradlew installB_cnDebug &amp;&amp; sf_startapp\"\necho \"set jdk11\" &amp;&amp; jdk11\nalias adb_rpi3_home_eth0=\"adb connect 192.168.31.135\"\nalias adb_rpi3_home_wlan0=\"adb connect 192.168.31.180\"\nalias rm=\"\/usr\/local\/bin\/rmtrash.sh\"\nalias markdown_convert=\"gsed -i -e '\/alt text\/s\/^\/\\`\\`\\`\/g' -e  '\/alt text\/s\/$\/\\`\\`\\`\/g'\"\nalias markdown_revert=\"gsed -i '\/alt text\/s\/\\`\\`\\`\/\/g'\"\nexport PATH=${PATH}:\/usr\/local\/go\/bin\nalias json=\"python -m json.tool\"\nset -o vi\nsource ~\/.yoda\/yoda.sh\nalias lsusb=\"system_profiler SPUSBDataType\"\nalias nmapw=\"nmap -p- -A -v -T4 \"\nalias rm=\"trash\"\neval \"$(thefuck --alias)\"\nalias fuck='fuck -y'\n&#91; -f \/usr\/local\/etc\/profile.d\/autojump.sh ] &amp;&amp; . \/usr\/local\/etc\/profile.d\/autojump.sh\nexport SDKMAN_DIR=\"$HOME\/.sdkman\"\n&#91;&#91; -s \"$HOME\/.sdkman\/bin\/sdkman-init.sh\" ]] &amp;&amp; source \"$HOME\/.sdkman\/bin\/sdkman-init.sh\"\nexport PATH=\"$PATH:$HOME\/.rvm\/bin\"\nexport HOMEBREW_BOTTLE_DOMAIN=https:\/\/mirrors.aliyun.com\/homebrew\/homebrew-bottles\n#source \/opt\/homebrew\/share\/zsh-autosuggestions\/zsh-autosuggestions.zsh\nsource ~\/.oh-my-zsh\/custom\/plugins\/zsh-autocomplete\/zsh-autocomplete.plugin.zsh<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install iTerm2 Before to build the fancy Terminal, it need to install the iTerm first. https:\/\/iterm2.com\/index.html The config file will be ~\/.zshrc, so for the themes and plugins, need to update this config file accordingly. Install oh my zsh https:\/\/github.com\/ohmyzsh\/ohmyzsh<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[169],"tags":[],"class_list":["post-1665","post","type-post","status-publish","format-standard","hentry","category-tech"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Build the fancy iTerm2 - Jianqing&#039;s Blog<\/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:\/\/pjq.me\/?p=1665\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build the fancy iTerm2 - Jianqing&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Install iTerm2 Before to build the fancy Terminal, it need to install the iTerm first. https:\/\/iterm2.com\/index.html The config file will be ~\/.zshrc, so for the themes and plugins, need to update this config file accordingly. Install oh my zsh https:\/\/github.com\/ohmyzsh\/ohmyzsh\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pjq.me\/?p=1665\" \/>\n<meta property=\"og:site_name\" content=\"Jianqing&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-21T10:03:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-26T06:53:53+00:00\" \/>\n<meta name=\"author\" content=\"pengjianqing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pengjianqing\" \/>\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:\/\/pjq.me\/?p=1665#article\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/?p=1665\"},\"author\":{\"name\":\"pengjianqing\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"headline\":\"Build the fancy iTerm2\",\"datePublished\":\"2022-07-21T10:03:07+00:00\",\"dateModified\":\"2022-07-26T06:53:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=1665\"},\"wordCount\":113,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"articleSection\":[\"Tech\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/pjq.me\/?p=1665#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/pjq.me\/?p=1665\",\"url\":\"https:\/\/pjq.me\/?p=1665\",\"name\":\"Build the fancy iTerm2 - Jianqing&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/#website\"},\"datePublished\":\"2022-07-21T10:03:07+00:00\",\"dateModified\":\"2022-07-26T06:53:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/pjq.me\/?p=1665#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/pjq.me\/?p=1665\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/pjq.me\/?p=1665#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/pjq.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build the fancy iTerm2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/pjq.me\/#website\",\"url\":\"https:\/\/pjq.me\/\",\"name\":\"Jianqing&#039;s Blog\",\"description\":\"Thoughts and Future\",\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/pjq.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\",\"name\":\"pengjianqing\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"contentUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"width\":460,\"height\":752,\"caption\":\"pengjianqing\"},\"logo\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/pjq.me\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build the fancy iTerm2 - Jianqing&#039;s Blog","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:\/\/pjq.me\/?p=1665","og_locale":"en_US","og_type":"article","og_title":"Build the fancy iTerm2 - Jianqing&#039;s Blog","og_description":"Install iTerm2 Before to build the fancy Terminal, it need to install the iTerm first. https:\/\/iterm2.com\/index.html The config file will be ~\/.zshrc, so for the themes and plugins, need to update this config file accordingly. Install oh my zsh https:\/\/github.com\/ohmyzsh\/ohmyzsh","og_url":"https:\/\/pjq.me\/?p=1665","og_site_name":"Jianqing&#039;s Blog","article_published_time":"2022-07-21T10:03:07+00:00","article_modified_time":"2022-07-26T06:53:53+00:00","author":"pengjianqing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pengjianqing","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pjq.me\/?p=1665#article","isPartOf":{"@id":"https:\/\/pjq.me\/?p=1665"},"author":{"name":"pengjianqing","@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"headline":"Build the fancy iTerm2","datePublished":"2022-07-21T10:03:07+00:00","dateModified":"2022-07-26T06:53:53+00:00","mainEntityOfPage":{"@id":"https:\/\/pjq.me\/?p=1665"},"wordCount":113,"commentCount":0,"publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"articleSection":["Tech"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pjq.me\/?p=1665#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pjq.me\/?p=1665","url":"https:\/\/pjq.me\/?p=1665","name":"Build the fancy iTerm2 - Jianqing&#039;s Blog","isPartOf":{"@id":"https:\/\/pjq.me\/#website"},"datePublished":"2022-07-21T10:03:07+00:00","dateModified":"2022-07-26T06:53:53+00:00","breadcrumb":{"@id":"https:\/\/pjq.me\/?p=1665#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pjq.me\/?p=1665"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pjq.me\/?p=1665#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pjq.me\/"},{"@type":"ListItem","position":2,"name":"Build the fancy iTerm2"}]},{"@type":"WebSite","@id":"https:\/\/pjq.me\/#website","url":"https:\/\/pjq.me\/","name":"Jianqing&#039;s Blog","description":"Thoughts and Future","publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pjq.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60","name":"pengjianqing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/","url":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","contentUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","width":460,"height":752,"caption":"pengjianqing"},"logo":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/"},"url":"https:\/\/pjq.me\/?author=1"}]}},"views":1018,"_links":{"self":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/1665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1665"}],"version-history":[{"count":5,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/1665\/revisions"}],"predecessor-version":[{"id":1673,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/1665\/revisions\/1673"}],"wp:attachment":[{"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}