Sha256: b4dd380f7d902422ce79138ce892b0bd02b01f33b3a054f78448c67b241dd2ee

Contents?: true

Size: 508 Bytes

Versions: 22

Compression:

Stored size: 508 Bytes

Contents

function which {
    $command = [Array](Get-Command $args[0] -errorAction SilentlyContinue)
    if($null -eq $command)
    {
      exit 1
    }
    write-host $command[0].Definition
    exit 0
}

function test ([Switch] $d, [String] $path) {
  if(Test-Path $path)
  {
    exit 0
  }
  exit 1
}

function chmod {
  exit 0
}

function chown {
  exit 0
}

function mkdir ([Switch] $p, [String] $path)
{
  if(Test-Path $path)
  {
    exit 0
  } else {
    New-Item $path -Type Directory -Force | Out-Null
  }
}

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
vagrant-windows-1.6.0 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-plugin-dummy-0.0.7 windows/scripts/command_alias.ps1
vagrant-windows-1.6.0.pre.1 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-plugin-dummy-0.0.6 windows/scripts/command_alias.ps1
vagrant-plugin-dummy-0.0.5 windows/scripts/command_alias.ps1
vagrant-windows-1.5.1 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.5.0 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.4.0 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.3.2 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.3.1 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.3.0 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.3.0.pre.3 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.3.0.pre.2 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.3.0.pre.1 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.2.3 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-windows-1.2.2 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-plugin-dummy-0.0.4 windows/scripts/command_alias.ps1
vagrant-plugin-dummy-0.0.3 windows/scripts/command_alias.ps1
vagrant-windows-1.2.1 lib/vagrant-windows/scripts/command_alias.ps1
vagrant-plugin-dummy-0.0.1 windows/scripts/command_alias.ps1