• 8 Posts
  • 35 Comments
Joined 3 years ago
cake
Cake day: June 8th, 2023

help-circle




  • Not an expert by any means, but I’d guess that has to do with the distinction between being on top of something, and having boarded something. You are on top of a (small) boat or motorcycle, but within a car. These examples refer to position. You can be both in or on a bus, plane, or yacht, because you have boarded the bus, plane, or yacht, and thus are “on” it, but are located physically within the vehicle and so are also “in” it (in the case of a yacht, that may depend on whether you’re inside it or on top of it). These examples refer to both position and state of existence.

    This is totally conjecture so I’d be very curious to hear from an actual expert.






  • Maybe controversial, but the fish shell. I know it’s not strictly bash syntax, but the OOTB features are just so user-friendly. The most helpful features for learning: the autocomplete (with descriptions of subcommands and flags!) and the fuzzy history search.

    I write bash scripts all the time, and am significantly more knowledgeable than anyone else on my team (admittedly frontend) because I got comfortable in fish.









  • Another really helpful tool is to use the fish shell instead of bash. It has tons of useful features, but my favorite is by far the autocomplete. It parses man pages to provide suggestions for flags, subcommands, even passed arguments, and each item in the results list has a description, and it’s all searchable by hitting shift+tab.

    fish autocomplete subcommands

    fish autocomplete git

    That’s what leveled up my cli game from 0-100. It’s a massive difference in usability and discoverability. And unlike things like nushell, it’s close enough to bash that you won’t feel confused if you have to use bash instead.