4 ms·
I've been daily driving xonsh for a couple of years too. It _sounds_ like a terrible idea for reasons you can't quite put your finger on, but other than a minor
by pedrovhb 5y ago
I've been daily driving xonsh for a couple of years too. It _sounds_ like a terrible idea for reasons you can't quite put your finger on, but other than a minor annoyance every now and then, it's been great.
I especially like iterating over files as Path objects with the simple syntax
for f in p`.\*\.jpg`:
if f.isdir():
foo = $(echo @(f.absolute()))
- suifbwish 5y agoWhat sorcery is this?! Object oriented bash? Incredible.
- abnry 5y agoPowerShell has entered the chat.
- meanmrmustard92 5y agoPowershell doesn't simply enter the chat. Powershell enters-its-username-and-password-and-hits-enter the chat. [I'm usually a fan of informative command names, but surely there's a happy medium]
- joseph8th 5y agoReally it's just a souped-up Python interactive shell. When you give it bash commands, it forks to bash. When you give it python it evaluates like a REPL