{"id":15209462,"url":"https://github.com/vinicius999/pretty-terminal-windows","last_synced_at":"2026-03-15T03:45:23.715Z","repository":{"id":249184171,"uuid":"830687959","full_name":"Vinicius999/pretty-terminal-windows","owner":"Vinicius999","description":"This repository was developed to help configure and customize Windows terminals, where Windows PowerShell and Git Bash are configured.","archived":false,"fork":false,"pushed_at":"2024-07-19T18:22:03.000Z","size":1172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T12:55:41.013Z","etag":null,"topics":["bashrc","git","oh-my-posh","powershell","terminal","zsh","zshrc"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vinicius999.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-18T19:17:29.000Z","updated_at":"2024-07-19T18:23:27.000Z","dependencies_parsed_at":"2024-09-19T09:02:15.702Z","dependency_job_id":"15504298-b857-4c60-88a5-dbc6fbc74fab","html_url":"https://github.com/Vinicius999/pretty-terminal-windows","commit_stats":null,"previous_names":["vinicius999/pretty-terminal-windows"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinicius999%2Fpretty-terminal-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinicius999%2Fpretty-terminal-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinicius999%2Fpretty-terminal-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinicius999%2Fpretty-terminal-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vinicius999","download_url":"https://codeload.github.com/Vinicius999/pretty-terminal-windows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242692349,"owners_count":20170228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bashrc","git","oh-my-posh","powershell","terminal","zsh","zshrc"],"created_at":"2024-09-28T07:40:20.065Z","updated_at":"2025-12-24T03:51:48.138Z","avatar_url":"https://github.com/Vinicius999.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePretty Terminal in Windows\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    This repository was developed to help configure and customize Windows terminals, where Windows PowerShell and Git Bash are configured.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/Vinicius999/pretty-terminal-windows#main-programs\"\u003eMain programs\u003c/a\u003e |\n    \u003ca href=\"https://github.com/Vinicius999/pretty-terminal-windows#step-by-step\"\u003eStep-by-step\u003c/a\u003e |\n\u003c/p\u003e\n\n\n## Main programs \n\n\u003cp style='margin: 20px 4px 32px;'\u003e\n    \u003ca href=\"https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n        \u003cimg src=\"https://github.com/Zsh-art/logo/blob/main/png/white_horizontal_icon.png?raw=true\" alt=\"Vini-zsh\" width=\"88\" height=\"58\" /\u003e\n    \u003c/a\u003e_\n    \u003ca href=\"https://ohmyposh.dev/\" target=\"_blank\" rel=\"noreferrer\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/jandedobbeleer/oh-my-posh/main/website/static/img/logo.png\" alt=\"Vini-oh-my-posh\" width=\"90\" height=\"60\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Step-by-step\n\n### 1 - Download ZSH \n\nDownload the latest zsh package from the link: [download-zsh](https://packages.msys2.org/package/zsh?repo=msys\u0026variant=x86_64)\n\nThe correct file to download is shown in the image below:\n\n![zsh-download](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/link-download-zsh.png)\n\nThe name of the downloaded file should look like `zsh-5.9-2-x86_64.pkg.tar.zst`.\n\n\n### 2 - Download and install PeaZip\n\nDownload PeaZip from the link: [download-peazip](https://peazip.github.io/index.html)\n\nPeaZip is used to extract the `.ZST` files, like the ZSH packege downloaded before.\n\n\n### 3 - Extract the ZSH file to your git bash installation dir\n\nMove the `zsh-5.9-2-x86_64.pkg.tar.zst` file to git bash installation dir, usually the path is `C:\\Program Files\\Git`, like is shown in the image below:\n\n![git-installation-dir](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/git-installation-dir.png)\n\nExtract the file using PeaZip like is shown in the image below:\n\n![extract-zsh-peazip](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/extract-zsh-peazip.png)\n\nWill be extracted a file that looks like `zsh-5.9-2-x86_64.pkg.tar` with `.TAZ` extention. You should extract it in the same way as the initial file.\n\n### 4 - Testing ZSH\n\nOpen Git Bash and execute the command:\n```\nzsh\n```\n\n### 5 - Setting zsh as the default\n\nTo make sure that **zsh** will run every time you open Git Bash, look in Windows Explorer for the `.bashrc` file and open it with **VS Code** like is shown in the image below:\n\n![extract-zsh-peazip](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/bashrc-file.png)\n\nAdd the following lines at the end of the file:\n\n```\n# Launch Zsh\nif [ -t 1 ]; then\n    exec zsh\nfi\n```\n\nSave, close and open again the Git Bash. The ZSH should be executed automatically.\n\n### 6 - Oh My Posh installation\n\nOpen PowerShell and run the command:\n\n```\nwinget install JanDeDobbeleer.OhMyPosh -s winget\n```\n\nAfter running the command and getting a successful installation, close the terminal.\n\n\n### 7 - Nerd Font installation\n\nOpen Windows Terminal **as administrator** to start installing the font from the [NERD FONTS repository](https://ohmyposh.dev/docs/installation/fonts) and execute the command:\n\n```\noh-my-posh font install\n```\n\nSelect the font Hack like is shown in the image below:\n\n![nerd-font-install](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/nerd-font-install.png)\n\nTo test the installation, open a new PowerShell (without admin) and go to Settings -\u003e Windows PowerShell -\u003e Appearance like is shown in the image below:\n\n![nerd-font-install](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/powershell-font.gif)\n\nSelect `Hack Nerd Font` Save and close the terminal.\n\n\n### 8 - Creating a PowerShell profile\n\nOpen a new terminal as administrator and run the command below to confirm which Shell is in use.\n\n```\noh-my-posh get shell\n```\n\nTry editing your PowerShell profile script using the first command below. If you get an error, run the second command.\n\n```\nnotepad $PROFILE\n```\n\n```\nNew-Item -Path $PROFILE -Type File -Force\n```\n\nThe file will be created in the following path `C:\\Users\\\u003cUSER-NAME\u003e\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1`.\n\n### 9 - Allowing local scripst\n\nAllow the execution of local scripsts and request that only remote scripsts be signed:\n\n```\nSet-ExecutionPolicy RemoteSigned\n```\n\nOpen the file `C:\\Users\\\u003cUSER-NAME\u003e\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1` using the command:\n\n```\nnotepad $PROFILE\n```\n\nAdd the following line to the file and save:\n\n```\noh-my-posh init pwsh | Invoke-Expression\n```\n\nOpen a new PowerShel (without admin) reload your profile for the changes to take effect.\n\n```\n. $PROFILE\n```\n\n### 10 - Setting up Oh My Posh theme in PowerShell\n\nTo configure a theme, run the command below to list all available themes.\n\n```\nGet-PoshThemes\n```\n\nAll themes can also be viewed on the [themes page](https://ohmyposh.dev/docs/themes) of the Oh My Posh documentation: [`https://ohmyposh.dev/docs/themes`](https://ohmyposh.dev/docs/themes).\n\nOpen the profile configuration file again (`C:\\Users\\\u003cUSER-NAME\u003e\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1`) and paste the example command changing to your chosen theme. No exemplo abaixo, o tema escolhido foi o [blue-owl](https://ohmyposh.dev/docs/themes#blue-owl):\n\n```\noh-my-posh init pwsh --config 'C:\\Users\\\u003cUSER_NAME\u003e\\AppData\\Local\\Programs\\oh-my-posh\\themes\\blue-owl.omp.json' | Invoke-Expression\n```\n\nTo test a new theme, copy the name of the theme as shown below and replace it in the command below.\n\n![blue-owl-theme](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/blue-owl-theme.png)\n\n```\noh-my-posh init pwsh --config 'C:\\Users\\\u003cUSER_NAME\u003e\\AppData\\Local\\Programs\\oh-my-posh\\themes\\\u003cTHEME-NAME\u003e.omp.json' | Invoke-Expression\n```\n\n### 11 - Setting up Oh My Posh theme in Git Bash\n\nSearch for the .zshrc file in Windows Explorer. It's usually in the path C:\\Users\\\u003cUSER-NAME\u003e\n\nOpen the file with VS Code and add the following commands to the end of the file:\n\n```\nif [ \"$TERM_PROGRAM\" != \"Apple_Terminal\" ]; then\n  eval \"$(oh-my-posh init zsh --config C:/Users/\u003cUSER-NAME\u003e/AppData/Local/Programs/oh-my-posh/themes/blue-owl.omp.json)\"\nfi\n```\n\nNote que o cominho especificado após a flag `--config` é o mesmo caminho especificado no comando para configurar um tema no PowerShell.\n\n\n### 11 - Setting up Nerd FOnts in Visual Studio Code\n\nWhen using Visual Studio Code, you will need to configure the integrated Terminal to make use of the Nerd Font as well. This can be done by changing the `Integrated: Font Family` value in the Terminal settings, default shortcut: `CTRL + ,` and search for `Integrated: Font Family` or via `File` -\u003e `Preferences` -\u003e `Settings` and search for `Integrated: Font Family` like is shown in the image below:\n\n![vs-code-nerd-fonts](https://github.com/Vinicius999/pretty-terminal-windows/blob/main/images/vs-code-nerd-fonts.gif)\n\nClose VS Code e open again. The theme icons must be enabled in the terminal\n\n### 12 - References and documentation\n\nExplore options and other topics in the documentation.\n- ZSH official site: https://www.zsh.org/\n- Oh My Posh Documentation: https://ohmyposh.dev/docs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinicius999%2Fpretty-terminal-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinicius999%2Fpretty-terminal-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinicius999%2Fpretty-terminal-windows/lists"}