Last active
June 20, 2024 17:42
-
-
Save micahlt/008a28246988f848084efa8e6c410587 to your computer and use it in GitHub Desktop.
Powershell Profile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # MICAH LINDLEY'S POWERSHELL PROFILE | |
| Function up { cd .. } | |
| Function ~ { cd ~ } | |
| Function gocode { cd "C:\Users\Micah Lindley\Documents\Code" } | |
| Function cbt { | |
| start firefox $args | |
| start microsoft-edge:$args | |
| $argList = '{0} --profile-directory="Default"' -f $args | |
| start chrome -ArgumentList $argList | |
| } | |
| Function nr { npm run $args } | |
| Function cpbranch { git rev-parse --abbrev-ref HEAD | Set-Clipboard } | |
| Function wai { echo $pwd } | |
| Set-Alias crossbrowser -Value cbt | |
| # alternate theme: peru | |
| oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\marcduiker.omp.json" | Invoke-Expression | |
| #f45873b3-b655-43a6-b217-97c00aa0db58 PowerToys CommandNotFound module | |
| Import-Module -Name Microsoft.WinGet.CommandNotFound | |
| #f45873b3-b655-43a6-b217-97c00aa0db58 | |
| function mklink { cmd /c mklink $args } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment