happysl.app
  • 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
223
fedilink
  • cross-posted to:
  • [email protected]
1.41K

D or d come on

i.imgur.com

Gollum@feddit.de to Programmer Humor@programming.dev · 2 years ago
message-square
223
fedilink
  • cross-posted to:
  • [email protected]
  • Sh1nyM3t4l4ss@lemmy.world
    link
    fedilink
    arrow-up
    92
    arrow-down
    3
    ·
    2 years ago

    Use a shell with decent auto-completion. I have not been irritated by this in years.

    • nogooduser@lemmy.world
      link
      fedilink
      English
      arrow-up
      27
      arrow-down
      1
      ·
      2 years ago

      Won’t autocomplete fail if you do “cd d” and then try the autocomplete?

      Or is that what you mean by “decent” auto-completion?

      • bdonvr@thelemmy.club
        link
        fedilink
        arrow-up
        30
        arrow-down
        1
        ·
        2 years ago

        No, it will probably go to “Documents”, and if you hit tab again it should go to “Downloads”. (Assuming you have the normal default folders)

      • rasensprenger@feddit.de
        link
        fedilink
        arrow-up
        25
        ·
        2 years ago

        bash’s autocomplete fails (at least with default settings), but e.g. zsh can figure out what you mean

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

        Not with a decent autocomplete. It will look for a folder starting with a small d and if it doesn’t exist it looks at a folder with a large D.

        • pgp@sh.itjust.works
          link
          fedilink
          arrow-up
          5
          ·
          2 years ago

          The choice of the letter d was brilliant, that’s for sure. Now I’m imagining a folder with a large D.

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

            I don’t get what you mean. It doesn’t matter if you write a uppercase or lowercase d

            • pgp@sh.itjust.works
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              Best example I could find without being crude.

    • Zaphod@discuss.tchncs.de
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      2 years ago

      Oh my zsh?

      • wviana@lemmy.eco.br
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        2 years ago

        No. Zsh. It’s pretty easy to have a nice auto compl. No need for omz. After knowing poweline10k I just use it and syntax highlight plugin, manually installed. There is no need to add entire omz.

    • lightnsfw@reddthat.com
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      I just don’t use caps when naming directories

    • Skimmer@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      What shell would you recommend? 🤔

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

        I use fish which is quite nice OOTB, although if you want a posix compliant shell, zsh with some plugins is also great.

        • ayaya@lemdro.id
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 years ago

          If you need to run a set of commands or a script with fish you can just toss them in a file and run bash file.sh. I have been daily driving fish for years and I don’t even have think about it.

      • stevehobbes@lemm.ee
        link
        fedilink
        arrow-up
        10
        arrow-down
        3
        ·
        2 years ago

        https://ohmyz.sh/

        • yum13241@lemm.ee
          link
          fedilink
          arrow-up
          5
          arrow-down
          13
          ·
          2 years ago

          Is fucking irrelevant. Just use your package manager.

          • stevehobbes@lemm.ee
            link
            fedilink
            arrow-up
            10
            arrow-down
            1
            ·
            2 years ago

            Get some anger management help.

            • yum13241@lemm.ee
              link
              fedilink
              arrow-up
              2
              arrow-down
              11
              ·
              2 years ago

              Maybe stop trying to be a smartass.

      • wviana@lemmy.eco.br
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        Zsh.

        Omg looks like people think omz is a shell.

      • Swedneck@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        I personally like xonsh despite the minor amount of wonkiness it has, it’s so nice to have python available directly in your shell, it takes the “i don’t care about the quality of my code i just want this shit to work with minimal effort”-ness of bash and turns it up to 13.

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: [email protected]

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.

  • 375 users / day
  • 63 users / week
  • 115 users / month
  • 13.2K users / 6 months
  • 0 local subscribers
  • 21.4K subscribers
  • 1.24K Posts
  • 44.6K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org