{"id":143,"date":"2019-06-25T16:31:29","date_gmt":"2019-06-25T16:31:29","guid":{"rendered":"http:\/\/tier7.net\/blog\/?p=143"},"modified":"2019-06-25T16:31:29","modified_gmt":"2019-06-25T16:31:29","slug":"add-git-bash-to-windows-terminal-preview","status":"publish","type":"post","link":"https:\/\/tier7.net\/blog\/2019\/06\/add-git-bash-to-windows-terminal-preview\/","title":{"rendered":"Add Git Bash to Windows Terminal (Preview)"},"content":{"rendered":"<p>To add Git Bash as a tab to your Windows Terminal, use the &#8220;V&#8221; icon and select &#8220;Settings&#8221; or press &#8220;Ctrl + ,&#8221;<\/p>\n<p>This will open up the profiles.json file in your defined editor.<\/p>\n<p>Add an entry to &#8220;profiles:&#8221;<\/p>\n<div><\/div>\n<pre>,\r\n{\r\n\"acrylicOpacity\" : 0.75,\r\n\"closeOnExit\" : true,\r\n\"colorScheme\" : \"Campbell\",\r\n\"commandline\" : \"C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe --cd-to-home\",\r\n\"cursorColor\" : \"#FFFFFF\",\r\n\"cursorShape\" : \"bar\",\r\n\"fontFace\" : \"Consolas\",\r\n\"fontSize\" : 10,\r\n\"historySize\" : 9001,\r\n\"name\" : \"Git Bash\",\r\n\"padding\" : \"0, 0, 0, 0\",\r\n\"snapOnInput\" : true,\r\n\"startingDirectory\" : \"%USERPROFILE%\",\r\n\"useAcrylic\" : false\r\n}<\/pre>\n<p>&#8220;GUID&#8221;: will be generated for you.<\/p>\n<p>The important line is<\/p>\n<pre>\"commandline\" : \"C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe --cd-to-home\",<\/pre>\n<p>This line points to the install location of the bash executable.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_144\" style=\"width: 1930px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/tier7.net\/blog\/wp-content\/uploads\/2019\/06\/windows-terminal.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-144\" class=\"size-full wp-image-144\" src=\"http:\/\/tier7.net\/blog\/wp-content\/uploads\/2019\/06\/windows-terminal.png\" alt=\"Add git bash as a tab in windows terminal\" width=\"1920\" height=\"1029\" srcset=\"https:\/\/tier7.net\/blog\/wp-content\/uploads\/2019\/06\/windows-terminal.png 1920w, https:\/\/tier7.net\/blog\/wp-content\/uploads\/2019\/06\/windows-terminal-300x161.png 300w, https:\/\/tier7.net\/blog\/wp-content\/uploads\/2019\/06\/windows-terminal-1024x549.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><p id=\"caption-attachment-144\" class=\"wp-caption-text\">Add git bash as a tab in windows terminal<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To add Git Bash as a tab to your Windows Terminal, use the &#8220;V&#8221; icon and select &#8220;Settings&#8221; or press &#8220;Ctrl + ,&#8221; This will open up the profiles.json file in your defined editor. Add an entry to &#8220;profiles:&#8221; , &hellip; <a href=\"https:\/\/tier7.net\/blog\/2019\/06\/add-git-bash-to-windows-terminal-preview\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":1,"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":145,"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/posts\/143\/revisions\/145"}],"wp:attachment":[{"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tier7.net\/blog\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}