SuperFola / Bash4PowerShell

A set of alias to mimic Bash, but with PowerShell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bash4PowerShell

Trying to mimic standard Bash functionalities, for PowerShell.

Dependencies

  • Python >= 3.9
  • PowerShell >= 5.1

Installing

$folder="C:\Users\$env:username\Documents\WindowsPowerShell"
git clone https://github.com/SuperFola/Bash4PowerShell.git $folder\Bash4PowerShell

$uri="https://raw.githubusercontent.com/SuperFola/Bash4PowerShell/master/PowerShell_profile.ps1"
$content=(Invoke-webrequest -URI $uri).Content

if(!(Test-Path -Path $profile)) {
    New-Item -Path $profile -ItemType "file" -Force
}
Add-Content -Path $profile -Value $content

About

A set of alias to mimic Bash, but with PowerShell

License:MIT License


Languages

Language:Python 96.0%Language:PowerShell 4.0%