Starship seems quite promising, this is the first time I'm seeing it. But I'm a bit confused on how it works, can you go into a bit more details?
Can I use starship+ps to get all Unix and git tools or should I stick with my existing workflow with windows git bash?
wsl ls -lsa
wsl cat file.txt
Basically, starship is a config generator for your shell. It transforms a cross platform config file (starship.toml) into a platform specific configuration shell script, e.g.: starship init zsh
will output something like zmodload zsh/parameter # Needed to access jobstates variable for STARSHIP_JOBS_COUNT
# Defines a function `__starship_get_time` that sets the time since epoch in millis in STARSHIP_CAPTURED_TIME.
if [[ $ZSH_VERSION == ([1-4]*) ]]; then
# ZSH <= 5; Does not have a built-in variable so we will rely on Starship's inbuilt time function.
__starship_get_time() {
STARSHIP_CAPTURED_TIME=$(/home/andreas/bin/starship time)
}
else
zmodload zsh/datetime
zmodload zsh/mathfunc
__starship_get_time() {
(( STARSHIP_CAPTURED_TIME = int(rint(EPOCHREALTIME * 1000)) ))
}
fi
# ...
# ...
For PowerShell the output will look accordingly - the config stays the same. I've had a bunch of custom zsh / powershell config dotfiles for years now, starship just eases it out :-)i'll admit the object vs text thing is annoying, i feel like bash is more straightforward there, but PS will let you do the same thing eventually.
Instead they re-invented the wheel. It's not a bad wheel, but the wheel is completely different than most people would expected to be and for POSIX enthusiast it just does not feel right.
With wsl or git bash you can do this but it feels slow and clunky most of the time.
I'm also running a number of additional software on mac to make the experience more liveable (Alfred, scroll inverter, ice, rectangle, iterm,...). I think the big companies got to the point where they do the bare minimum for Gene Public to accept the useability, and leave the rest of us with our ### dangling to fill in the gap.
Probably something to do with maximizing profit and minimizing expense?
You can invert “natural scrolling” in the OS (System Preferences / System Settings).
And no, this is not a reason to leave an otherwise perfectly fine job behind.
older jobs let us put whatever on the laptops, and even had hardening scripts if we wanted to use linux. only approved linux was ubuntu, but you could slap mint or other derivatives in there and get away with it / not have concerns.
Or Fedora with KDE.
also, while the tool is nice, it needs admin permissions to work.
Debloat / Software Management: https://github.com/ChrisTitusTech/winutil
Command line software management (Scoop): https://pilabor.com/blog/2021/12/automate-windows-app-setup-...
Comparison (Scoop/Chocolatey/Win-Get): https://daftdev.blog/2024/04/01/chocolatey-vs-scoop-vs-winge...
I would also recommend starship (https://starship.rs/) for your Powershell, which is cross platform and therefore usable for all popular shells. Scoop can also install and manage nerd fonts:
Here is my starship.toml config: