Oh My Posh

If you’re a Windows user and looking for a way to customize your PowerShell prompt, then Oh My Posh might be just what you need. Oh My Posh is an open-source, community-driven framework for managing your PowerShell prompt configuration. In this tutorial, we will go through the steps to install and configure Oh My Posh. Prerequisites Windows 10 or above PowerShell 5 or above .NET Framework 4.7.2 or above Git Installation Open PowerShell with administrative privileges. Run the following command to install the required modules: Close the PowerShell window. Configuration Open PowerShell with administrative privileges. Run the following command to open your PowerShell profile in Notepad: Install-Module posh-git -Scope CurrentUser Install-Module oh-my-posh -Scope CurrentUser Close the PowerShell window. Configuration Open PowerShell with administrative privileges. ...

March 17, 2023 · 2 min · Hao Chen

Oh My Bash

After using oh-my-zsh on my macbook for a few days, I feel the original bash theme not elegant enough. Thus, I start searching something like oh-my-zsh for bash, then I found oh my bash. Oh My Bash is an open source, community-driven framework for managing your bash configuration. Let’s get started. Oh My Bash is installed by running one of the following commands in your terminal. via curl bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" via wget bash -c "$(wget https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh -O -)" The above command will execute the following commands line by line. ...

September 9, 2022 · 1 min · Hao Chen