Lemmy.Radio
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum@feddit.de to Programmer Humor@programming.dev · 3年前

D or d come on

i.imgur.com

external-link
message-square
221
link
fedilink
1.42K
external-link

D or d come on

i.imgur.com

Gollum@feddit.de to Programmer Humor@programming.dev · 3年前
message-square
221
link
fedilink
  • Sh1nyM3t4l4ss@lemmy.world
    link
    fedilink
    arrow-up
    92
    arrow-down
    3
    ·
    3年前

    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
      ·
      3年前

      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
        ·
        3年前

        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
        ·
        3年前

        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
        ·
        3年前

        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
          ·
          3年前

          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
            ·
            3年前

            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
              ·
              3年前

              Best example I could find without being crude.

    • Zaphod@discuss.tchncs.de
      link
      fedilink
      arrow-up
      12
      arrow-down
      1
      ·
      3年前

      Oh my zsh?

      • wviana@lemmy.eco.br
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        3年前

        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
      ·
      3年前

      I just don’t use caps when naming directories

    • Skimmer@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      3年前

      What shell would you recommend? 🤔

      • Sh1nyM3t4l4ss@lemmy.world
        link
        fedilink
        arrow-up
        16
        ·
        3年前

        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
          ·
          3年前

          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
        ·
        3年前

        https://ohmyz.sh/

        • yum13241@lemm.ee
          link
          fedilink
          arrow-up
          5
          arrow-down
          14
          ·
          3年前

          Is fucking irrelevant. Just use your package manager.

          • stevehobbes@lemm.ee
            link
            fedilink
            arrow-up
            10
            arrow-down
            1
            ·
            3年前

            Get some anger management help.

            • yum13241@lemm.ee
              link
              fedilink
              arrow-up
              2
              arrow-down
              11
              ·
              3年前

              Maybe stop trying to be a smartass.

      • wviana@lemmy.eco.br
        link
        fedilink
        arrow-up
        4
        ·
        3年前

        Zsh.

        Omg looks like people think omz is a shell.

      • Swedneck@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        ·
        3年前

        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: !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.

  • 2.43K users / day
  • 4.54K users / week
  • 10.1K users / month
  • 18.4K users / 6 months
  • 15 local subscribers
  • 30.9K subscribers
  • 2.25K Posts
  • 88.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org