• 1 Post
  • 16 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle

  • bobo@lemmy.worldtolinuxmemes@lemmy.worldsiempre lo hago
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Bash will also do autocomplete for cli programs that have autocomplete functionality. Try typing:

    git r<tab><tab>

    you’ll see options for all the git commands that start with r. Often cli commands will have autocompletion for long (double dash) options.

    If you want to see all the commands that have auto complete available, look in:

    /usr/share/bash-completion/completions/

    There’s a few other locations they can live, notably:

    /etc/bash_completion.d/ ~/.bash_completion ~/.local/share/bash-completion/completions/

    I don’t know if there are more or if there is any variation per distro.

    You can also write your own bash completions. They can get pretty smart and context sensitive.

    Pretty good beginning tutorial:

    https://iridakos.com/programming/2018/03/01/bash-programmable-completion-tutorial

    edit - I should’ve mentioned that this isn’t native to bash, it requires installation of bash-completion. But bash-completion is installed by default in many distros.


  • I only asked whether English was your first language because of our wildly different interpretations of Gorilladrum’s post. Obviously, there’s room for different interpretations among native speakers, but I thought it was a possibility that a language or cultural barrier may be in play.

    I didn’t mean to cause you any vexation. And dialogue is appropriate for online forums. I only meant that given my perspective on the post you were responding to, that it was a very sarcastic expression of exasperation, like someone yelling “FUCK!” It seemed to me that, despite his wording, he was actually just railing against the futility of keeping up with celebrities, rather than a lack of understanding of why some people do so. So it never would have occurred to me to respond the way you did. Obviously you read it differently and responded with a sincere attempt to shed some light on it. I can imagine it was frustrating to get downvoted so hard when you were making an earnest effort to help someone.

    Anyway, you do seem like an interesting person, and I appreciate your interaction. I value your contributions and I will carry this forward into future interactions and not be so quick to assume people online are being sarcastic or condescending. I hope you walk away from this interaction with more positive feelings than negative ones.


  • I read Gorilladrums statement:

    “It’s truly beyond me how people have the energy to keep with celebrities”

    as being sarcastic. I find it difficult to see it any other way. I read it as Gorilladrums expressing exasperation with cultural obsession with celebrity. I didn’t read it as him asking for someone to explain it to him. I’m pretty sure that’s the last thing he wanted. In that view of his post, which is the view that I assumed most folks reading his post would have, your response of explaining it to him in simplistic terms comes across as sarcasm and condescension. I understand now that this is not the context that you were viewing his post in.

    Given my understanding of his post as an expression of exasperation with the culture of celebrity that does not expect or invite a response, I’d say both your first and final sentences come across as deliberate condescension, because both of them seem to imply that Gorilladrums didn’t understand something, and required an explanation, when it seemed clear to me that he didn’t expect or want. Therefore a response providing an explanation seemed like a teasing or a taunting in defense of celebrity culture that he was really just railing against. Again, I understand now that condescension was not your intention, and you were sincerely trying to assist.

    A sincere question: is English your first language?





  • I’d really like independent workspaces per display. I haven’t explored how to set it up in my current environments (I use primarily KDE, sometimes Gnome, and still occasionally XFCE). I’m not sure it’s even possible. I understand there’s quite a bit of customization of workspaces coming with Cosmic, but I haven’t checked it out.

    I do have some resistance to tiling window managers. Primarily because my wife occasionally uses my computer, and I can already see her rolling her eyes in frustration at me. How’s the learning curve for awesome?