zpyi
zpyi copied to clipboard
The power of python in your Zsh - Unobtrusive and easy python scripting in shell
Typing `b = 4` in zsh will print the following: ``` # b = 4 Python statement invalid: Name not found globally. name 'b' is not defined # ```
pasting `__import__('os')` into zsh will report `unknown sort specifier` and return `1`. This directive is mainly used, in my case, to create horrifying 1 liners
- Makes a system call to a `import.sh` script that finds the distro than does the import if possible and if not than everything occurs normally... - Tested for `archlinux`...
If you could please elaborate the "TODO"...like which packages exactly....Thanks
division
I love this. Thanks! I'm wondering if I am doing something wrong or if it isn't supported, but I can't seem to do division. `$ '120/60` Gives `zsh: no such...