News for hackers. Stuff that matters.
Re:I've returned to Linux but I miss PowerShell by lawls on Saturday July 26, 2025 @08:32PM (#44697996)
But can't you just use fish?
Re:I've returned to Linux but I miss PowerShell by tangotaylor on Saturday July 26, 2025 @09:06PM (#44698103)
I put a note at the end about that: the lack of a `set -e` / fail fast equivalent was a dealbreaker for me.
Re:I've returned to Linux but I miss PowerShell by sargstuff on Saturday July 26, 2025 @08:48PM (#44698035)
Why not just install Powershell for linux?[1]

[1] : https://learn.microsoft.com/en-us/powershell/scripting/insta...

Re:I've returned to Linux but I miss PowerShell by tangotaylor on Saturday July 26, 2025 @09:08PM (#44698111)
I could but no one else on my team (which is used to Linux) would touch my scripts.

It’s just too foreign for Linux devs whereas it ships with Windows.

Re:I've returned to Linux but I miss PowerShell by sargstuff on Saturday July 26, 2025 @09:31PM (#44698195)
Proprietary 'shell' vs. linux DIY/customized setup.

There are a multiple publically accessible/usable sources which can be found via search engine(s) to extend bash / unix shell functionality based on points discussed in topic link.

few article link topic snippits:

* approaches to autocompletion : [0][1]

* 'man' command and/or cli option -h to cli command shows 'docstring' / options

* jq resources for shell plugin[2]

--------------

[0] https://faun.pub/configure-bash-auto-completion-tab-completi...

[1] https://tiswww.case.edu/php/chet/readline/rltop.html

[2] https://github.com/fiatjaf/awesome-jq

Re:I've returned to Linux but I miss PowerShell by nojito on Sunday July 27, 2025 @07:24AM (#44700483)
Re:I've returned to Linux but I miss PowerShell by jdmg94 on Sunday July 27, 2025 @11:12AM (#44701910)
that is a thing that started under Nadella's leadership, during the 90s it was a different story.
Re:I've returned to Linux but I miss PowerShell by feldrim on Sunday July 27, 2025 @11:29AM (#44702039)
Those two "PowerShell"s are not the same. For the sake of cross platform deployment, they moved away from the original a lot -though they managed to support many things in time. The old and original one was released in 2006,IIRC, so it didn't exist in 90s.
Re:I've returned to Linux but I miss PowerShell by rastignack on Sunday July 27, 2025 @06:21AM (#44700230)
Nowadays a lot of people script in python
Re:I've returned to Linux but I miss PowerShell by general1726 on Monday July 28, 2025 @04:05PM (#44714951)
Yeah sure after they are done fighting with venv or why this scripts written in a different version of Python behaves differently on this computer...

During scripting they can be constantly annoyed by Python's indentation errors. Really awesome stuff when your syntax is whitespace dependent.

Re:I've returned to Linux but I miss PowerShell by sargstuff on Tuesday July 29, 2025 @09:36AM (#44723213)
> ... behaves differently on this computer...

vs. in linux, running powershell scripts under a virtualized instance of windows to avoid linux OS / windows OS differences issues?

----

other extreme end of the 'whitespace' spectrum:

APL : no white space / single character instead of multicharacter programming language tokens. Maximum expressiveness without any need for whitespace!