this post was submitted on 21 Nov 2023
873 points (97.5% liked)

linuxmemes

20880 readers
2 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 11 months ago (2 children)

I like the terminal but don't remember all the arguments. I find that clunky. That's my main issue with it. (I'm open to suggestions if anyone has any)

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

I highly recommend zsh. It takes a moment to setup initially, but you can use oh-my-zsh to just skip that part and use one of the many, many presets, and it supports plugins, of which there are many. It gives you tab support for so many popular commands, you will never need to remember them, and it has a lot of small improvements that makes your terminal life a breath. For example, if you do cd tab in bash, it will give you a list of subdirrectories. If you do the same in zsh, it will give you that list and a cursor that you can use to navigate said list, so instead of typing the dir, you can do cd tab tab tab enter

[–] [email protected] 2 points 11 months ago (1 children)

For someone that doesn't like the cli, I'd recommend fish instead of that as it just works with no setup.

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago)

I have very little experience with fish, but by my first experience zsh was way better at handling wildcard matching, and for me it's half of the stuff I do. You are trying to open a file and all you remember is that it has some substring in the name probably, you just type some of it, double tab, and you have all the files that match. At the time I was trying it, fish couldn't do it.

[–] [email protected] 1 points 11 months ago

Lots of terminal commands come with tab-completion out of the box (start typing a command, hit tab to autocomplete, hit tab twice to bring up a list of available options), or have tab completion scripts you can install after the fact.

Lacking tab completion, any worthwhile terminal commands will at least support a -h/--help flag that will print out a help menu summarizing the different options, or you can open up the man pages to see even more detailed documentation with man [whatever terminal command]. If the terminal command doesn't have either of those, I'd recommend against using it.