| ▲ | zahlman 11 hours ago | |||||||
Not a fan of the LLM-flavoured headings, and the tips seem like a real mixed bag (and it'd be nice to give credit specifically to the readline library where appropriate as opposed to the shell), but there are definitely a few things in here I'll have to play around with. One thing I dislike about brace expansions is that they don't play nicely with tab completion. I'd rather have easy ways to e.g. duplicate the last token (including escaped/quoted spaces), and delete a filename suffix. And, while I'm on that topic, expand variables and `~` immediately (instead of after pressing enter). | ||||||||
| ▲ | croemer an hour ago | parent | next [-] | |||||||
Not just the heading is LLM-flavoured. So is the writing, e.g. "The shell is a toolbox, not an obstacle course." | ||||||||
| ||||||||
| ▲ | ta8903 10 hours ago | parent | prev | next [-] | |||||||
Speaking of readline, I recently found out PowerShell has a readline mode (https://learn.microsoft.com/en-us/powershell/module/psreadli...) and it works great. As someone who works mostly in WSL and has to use PS occasionally, it really reduces the overhead of the context switch. | ||||||||
| ▲ | umanwizard 5 hours ago | parent | prev [-] | |||||||
Readline is close enough to being part of bash that it’s not really inaccurate to call these all shell features imo. | ||||||||
| ||||||||