Skip to content

Instantly share code, notes, and snippets.

View sjohnsonsf's full-sized avatar
🌎

Stephen J sjohnsonsf

🌎
  • California
  • 09:24 (UTC -08:00)
View GitHub Profile
@sjohnsonsf
sjohnsonsf / Script_Template.ps1
Created January 30, 2024 19:27 — forked from 9to5IT/Script_Template.ps1
PowerShell: Script Template
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
@sjohnsonsf
sjohnsonsf / terminal-prompt-git-branch-zsh.md
Created July 19, 2023 00:20 — forked from reinvanoyen/terminal-prompt-git-branch-zsh.md
Add Git Branch Name to Terminal Prompt (MacOS Catalina zsh)

Add Git Branch Name to Terminal Prompt (MacOS Catalina zsh)

Updated for MacOS Big Sur | Monterey | Ventura

screenshot

Install

Open ~/.zshrc in your favorite editor and add the following content to the bottom.

function parse_git_branch() {