win-bash-aliases

Windows WSL bash aliases for cmd and powershell


License
MIT
Install
pip install win-bash-aliases==0.0.3

Documentation

win-bash-aliases

Build status version pyversion

Ever have this problem?

C:\Users\You\> vi foo.txt
'vi' is not recognized as an internal or external command,
operable program or batch file.

Well, no more! Proxy unix commands to WSL from your Windows native shell with win-bash-aliases

Mix windows and bash commands

C:\Users\You>dir | grep bytes
               6 File(s)          4,195 bytes
               7 Dir(s)  191,543,554,048 bytes free

vi in cmd and powershell!

vi

Installation

Prerequsites

To use this package you must have Windows Subsystem for Linux installed.

py -m pip install win-bash-aliases

Commands available

awk
cat
cp
curl
grep
less
ls
man
more
mv
nano
rm
ssh
tail
tar
vi
vim
wc

Your favorite unix command not here? Open a PR and I'll add it! It's as simple as adding a string to a list.

Note: some commands, like xargs, are impractical to use because they would execute inside the WSL environment.

FAQ

Is this safe to use in production?

🤷

You should expect some things not to behave perfectly at this stage in development.

How does it work?

Just console entry points and wrapping around bash -c