Discover
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum@feddit.de to Programmer Humor@programming.dev · 2 years ago

D or d come on

i.imgur.com

message-square
232
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
1.44K

D or d come on

i.imgur.com

Gollum@feddit.de to Programmer Humor@programming.dev · 2 years ago
message-square
232
link
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • Damage@slrpnk.net
    link
    fedilink
    arrow-up
    23
    ·
    2 years ago

    Use zsh and press tab

    • BeanCounter@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 years ago

      zsh is so much nicer to work with

      • killeronthecorner@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        The only thing that annoys me is having to wrap wildcard expressions in quotes when using e.g. the find command.

        But then it looks more correct, so it’s hard to argue with.

        • toynbee@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          You can escape the wildcards as an alternative.

          • killeronthecorner@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            2 years ago

            Nice, I didn’t know that. I habitually forget the closing quote so this might save me some ire

    • 👁️👄👁️@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      This. Except don’t use zsh because this is default in every single shell

      • chris@l.roofo.cc
        link
        fedilink
        arrow-up
        18
        ·
        2 years ago

        Nope. Bash (at least by default on Ubuntu) doesn’t have case insensitive tab completion.

        • PupBiru@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          afaik there’s options you can turn on that enable it

          search .inputrc and set completion-ignore-case On

          • newIdentity@sh.itjust.works
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            Still not a default. Also it’s not the same thing.

      • Damage@slrpnk.net
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        Bash never does this by default

        • 👁️👄👁️@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Bash has never not had tab completion out of the box for me

          • Damage@slrpnk.net
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            Tab completion is default, but completing an uppercase word by typing a lowercase letter is not

    • T (they/she)@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      I can’t relate to this issue at all exactly because I use zsh. Also a little bit related but the fuck

    • Hurglet@lemmy.basedcount.com
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Bloat

      • bdonvr@thelemmy.club
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Just uninstall bash after

        • funkajunk@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Everyone’s playing checkers while my man’s playing chess

        • Hurglet@lemmy.basedcount.com
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          No thanks, Ash/Dash is all I need

        • funkajunk@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          Everyone’s playing checkers while my man’s playing chess

    • aleq@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I remember having that when I used OhMyZsh, but after going back to a more bespoke config it doesn’t work anymore. Also tried using zsh as a different user to ignore my own configs, that doesn’t work either.

      tldr, it’s not default zsh behavior.

      • 1984@lemmy.today
        cake
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        It’s not default in zsh maybe, but it’s default in the oh-my-zsh config most people use.

        I ran zsh for a while without that config and manually configured everything and it also works, but takes quite a bit of web searching to find all the knobs to turn.

        • aleq@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          I don’t think most people use oh-my-zsh. It’s very popular, and a lot of people use it, but I think most is a stretch.

          Either way, it’s just a set of plugins and configs so of course you can get it to work on any setup. Just saying that it’s not inherent to zsh, and you can probably get similar behavior in most shells with a similar config.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 354 users / day
  • 3.53K users / week
  • 7.36K users / month
  • 18.9K users / 6 months
  • 1 local subscriber
  • 25.3K subscribers
  • 1.54K Posts
  • 47.2K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org