This file contains 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
version: '3' | |
silent: true | |
tasks: | |
default: | |
desc: 'Default command will list all tasks' | |
cmds: | |
- task --list-all | |
This file contains 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
param( | |
[string][Parameter(Mandatory = $true)] $DownloadFolder | |
) | |
function Test-CommandAvailable { | |
param ( | |
[Parameter(Mandatory = $True, Position = 0)] | |
[String] $Command | |
) | |
return [Boolean](Get-Command $Command -ErrorAction SilentlyContinue) |
This file contains 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
#Import posh-git module | |
Import-Module #'{your path}\posh-git.psd1' | |
function prompt { | |
#posh-git settings | |
$GitPromptSettings.DefaultPromptAbbreviateHomeDirectory = $true | |
$prompt += & $GitPromptScriptBlock | |
#Assign Windows Title Text | |
$host.ui.RawUI.WindowTitle = "Current Folder: $pwd" |