{"id":72385,"date":"2019-08-15T09:13:30","date_gmt":"2019-08-15T00:13:30","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=72385"},"modified":"2019-08-15T09:13:34","modified_gmt":"2019-08-15T00:13:34","slug":"iterm-2-status-bar-versions","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/iterm-2-status-bar-versions\/","title":{"rendered":"iTerm2\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u5404\u7a2e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/s_20190813_192908.jpg\" alt=\"S 20190813 192908\" title=\"s_20190813_192908.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>Mac\u7528\u306e\u5b9a\u756a\u30bf\u30fc\u30df\u30ca\u30eb\u30a2\u30d7\u30ea\u300c<a href=\"https:\/\/www.iterm2.com\/\">iTerm2<\/a>\u300d\u3002<\/p>\n<p>\u3082\u3068\u304b\u3089\u4eba\u6c17\u306e\u3042\u308b\u30bd\u30d5\u30c8\u3067\u3059\u304c\u3001\u7740\u3005\u3068\u6539\u826f\u304c\u9032\u3081\u3089\u308c\u3066\u304a\u308a\u3001\u6700\u65b0\u7248\u306ev3.3.0\u4ee5\u964d\u3067\u306f\u30a2\u30d7\u30ea\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u4e0a\u90e8\u307e\u305f\u306f\u4e0b\u90e8\u306b\u300c\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u300d\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u306f\u3001CPU\u306e\u8ca0\u8377\u3084\u30e1\u30e2\u30ea\u306e\u7a7a\u304d\u5bb9\u91cf\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u901a\u4fe1\u91cf\u306a\u3069\u306e\u5404\u7a2e\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u7d44\u307f\u8fbc\u307f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u5229\u7528\u3067\u304d\u308b\u307b\u304b\u3001\u30e6\u30fc\u30b6\u30fc\u4f5c\u6210\u3057\u305f\u72ec\u81ea\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u305d\u306e\u3088\u3046\u306a\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306e\u5229\u7528\u65b9\u6cd5\u3068\u3057\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u6210\u65b9\u6cd5\u304c\u300c<a href=\"https:\/\/www.nicksays.co.uk\/iterm-tool-versions-status-bar\/?node\">iTerm2: Showing the PHP, Ruby or Node version in your status bar<\/a>\u300d\u306b\u3066\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>iTerm2\u306e\u30b7\u30a7\u30eb\u7d71\u5408\u3092\u6709\u52b9\u306b\u3059\u308b<\/h2>\n<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u8868\u793a\u3059\u308b\u306b\u306f\u3001iTerm2\u306ev3.3.0\u4ee5\u964d\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b7\u30a7\u30eb\u7d71\u5408\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/install_shell_integration.jpg\" alt=\"Install shell integration\" title=\"install_shell_integration.jpg\" border=\"0\" width=\"860\" height=\"560\" \/><\/p>\n<p>\u25b2\u300ciTerm2 > Install Shell Integration\u300d\u3092\u5b9f\u884c\u3057\u30b7\u30a7\u30eb\u7d71\u5408\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u4ee5\u4e0b\u306e\u30b7\u30a7\u30eb\u95a2\u6570\u3092.bashrc\u3084.zshrc\u306a\u3069\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre>\n# See https:\/\/www.iterm2.com\/3.3\/documentation-scripting-fundamentals.html\nfunction iterm2_print_user_vars() {\n  iterm2_set_user_var phpVersion $(php -v | awk '\/^PHP\/ { print $2 }')\n  iterm2_set_user_var rubyVersion $(ruby -v | awk '{ print $2 }')\n  iterm2_set_user_var nodeVersion $(node -v)\n}\n<\/pre>\n<p>\u3053\u308c\u3067user.phpVersion\u3001user.rubyVersion\u3001user.nodeVersion\u3068\u3044\u30463\u3064\u306e\u5909\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30ab\u30b9\u30bf\u30e0\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f5c\u6210<\/h2>\n<p>\u6b21\u306b\u5b9a\u7fa9\u3057\u305f\u5909\u6570\u3092\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u306b\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u300cPreferences > Profiles\u300d\u3067\u7279\u5b9a\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3057\u3001\u300cSession\u300d\u306e\u4e00\u756a\u4e0b\u306b\u3042\u308b\u300cConfigure Status Bar\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/statusbar.jpg\" alt=\"Statusbar\" title=\"statusbar.jpg\" border=\"0\" width=\"976\" height=\"649\" \/><\/p>\n<p>\u25b2\u4e0a\u90e8\u306e\u300cStatus Bar Component Menu\u300d\u304b\u3089\u300cInterpolated String\u300d\u3092\u9078\u3093\u3067\u3001\u300cActive Components\u300d\u306b\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/08\/component.jpg\" alt=\"Component\" title=\"component.jpg\" border=\"0\" width=\"983\" height=\"647\" \/><\/p>\n<p>\u25b2\u300cConfigure Component\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u4f8b\u3048\u3070\u300cRuby: \\(user.rubyVersion)\u300d\u3068\u5165\u529b\u3059\u308b\u3068\u3001Ruby\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002PHP\u306e\u5834\u5408\u306f\u300cPHP: \\(user.phpVersion)\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>iTerm2\u3068\u30b7\u30a7\u30eb\u306e\u9593\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306f\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u300c<a href=\"https:\/\/www.iterm2.com\/3.3\/documentation-scripting-fundamentals.html\">Scripting Fundamentals<\/a>\u300d\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>iTerm2\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308c\u3070\u3001\u3055\u307e\u3056\u307e\u306a\u60c5\u5831\u3092\u90aa\u9b54\u306b\u306a\u308a\u306b\u304f\u3044\u9818\u57df\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30a2\u30d7\u30ea\u4f9d\u5b58\u306e\u6a5f\u80fd\u3067\u3042\u308b\u305f\u3081iTerm2\u4ee5\u5916\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u306f\u5229\u7528\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u5f31\u70b9\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u5e38\u306bMac\u3067iTerm2\u3092\u4f7f\u3063\u3066\u4f5c\u696d\u3057\u3066\u3044\u308b\u65b9\u306b\u306f\u304a\u3059\u3059\u3081\u306e\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<table>\n<tr>\n<th rowspan='4' style='white-space: nowrap;'><img decoding=\"async\" style=\"max-width: 52px; height: auto;\" src=\"https:\/\/softantenna.com\/uploads\/software\/6769\/s_icon.png\" alt=\"S icon\" \/><\/th>\n<th style='white-space: nowrap;'>\u30bf\u30a4\u30c8\u30eb<\/th>\n<td>iTerm2<\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u516c\u5f0f\u30b5\u30a4\u30c8<\/th>\n<td><a href=\"http:\/\/www.iterm2.com\/\">http:\/\/www.iterm2.com\/<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u30bd\u30d5\u30c8\u30a2\u30f3\u30c6\u30ca<\/th>\n<td><a href=\"https:\/\/softantenna.com\/softwares\/6769-iterm2\">https:\/\/softantenna.com\/softwares\/6769-iterm2<\/a><\/td>\n<\/tr>\n<tr>\n<th style='white-space: nowrap;'>\u8aac\u660e<\/th>\n<td>Mac\u7528\u306e\u9ad8\u6a5f\u80fd\u30bf\u30fc\u30df\u30ca\u30eb\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u30fc\u3002<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Mac\u7528\u306e\u5b9a\u756a\u30bf\u30fc\u30df\u30ca\u30eb\u30a2\u30d7\u30ea\u300ciTerm2\u300d\u3002 \u3082\u3068\u304b\u3089\u4eba\u6c17\u306e\u3042\u308b\u30bd\u30d5\u30c8\u3067\u3059\u304c\u3001\u7740\u3005\u3068\u6539\u826f\u304c\u9032\u3081\u3089\u308c\u3066\u304a\u308a\u3001\u6700\u65b0\u7248\u306ev3.3.0\u4ee5\u964d\u3067\u306f\u30a2\u30d7\u30ea\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u4e0a\u90e8\u307e\u305f\u306f\u4e0b\u90e8\u306b\u300c\u30b9\u30c6\u30fc\u30bf\u30b9\u30d0\u30fc\u300d\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":72417,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[2047],"tags":[4017,612],"class_list":["post-72385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-iterm","tag-iterm2"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/72385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=72385"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/72385\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/72417"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=72385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=72385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=72385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}