Horje
Add Gitbash branch name to powershell Code Example
Add Gitbash branch name to powershell
# In PS
Install-Module posh-git -Scope CurrentUser
# Next
Install-Module oh-my-posh -Scope CurrentUser
#Within PowerShell, run notepad $PROFILE and add these lines to ensure the modules and theme is loaded upon startup.
```
Import-Module posh-git
Import-Module oh-my-posh
Set-PoshPrompt
```
Source: dev.to




Shell

Related
Edit remote files in new tab of Vim session Code Example Edit remote files in new tab of Vim session Code Example
Run multiple commands over SSH as sudo Code Example Run multiple commands over SSH as sudo Code Example
vscode fedora Code Example vscode fedora Code Example
find command absolute path Code Example find command absolute path Code Example
dd utility explained examples Code Example dd utility explained examples Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9