Last active
August 29, 2015 14:25
-
-
Save SyntaxC4/97a400f71ef098f44e6d to your computer and use it in GitHub Desktop.
My 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
$HOST.UI.RawUI.ForegroundColor="Green" | |
$HOST.UI.RawUI.BackgroundColor="Black" | |
Function gig { | |
param( | |
[Parameter(Mandatory=$true)] | |
[string[]]$list | |
) | |
$params = $list -join "," | |
Invoke-WebRequest -Uri "https://www.gitignore.io/api/$params" | select -ExpandProperty content | Out-File -FilePath $(Join-Path -path $pwd -ChildPath ".gitignore") -Encoding ascii | |
} | |
Function gls { | |
Get-ChildItem | |
Write-Host "" | |
Invoke-Expression -Command 'git status' | |
} | |
function which { | |
get-command $args[0]| format-list | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment