federate.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 year ago

Up up and away we go

sh.itjust.works

message-square
23
link
fedilink
600

Up up and away we go

sh.itjust.works

alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 year ago
message-square
23
link
fedilink
alert-triangle
You must log in or # to comment.
  • SHOW_ME_YOUR_ASSHOLE@lemm.ee
    link
    fedilink
    arrow-up
    63
    ·
    1 year ago

    I’m not a programmer but I do this on the Linux command line all the time to find a command I used days or weeks ago. Or I’ll spend 20 minutes grepping history instead. All to avoid spending 5 minutes reading the manpage so I can remember which flags and arguments I used.

    • HereIAm@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      And then you realise your dumb endless ls-ing has pushed the command off the history list

      • SHOW_ME_YOUR_ASSHOLE@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        This is too accurate!

      • dubyakay@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Can you change the history list size?

        • embed_me@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          Can you configure it to ignore ls and cd …

  • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.ee
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    May i introduce u to atuin

    • slampisko@lemmy.world
      link
      fedilink
      arrow-up
      36
      ·
      1 year ago

      I think you mean Crtl+R in bash

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        What does this sometimes appear not to work for me even though the command is clearly in the history?

        • Grappling7155@lemmy.ca
          link
          fedilink
          arrow-up
          12
          ·
          1 year ago

          Try

          history | fzf
          

          https://github.com/junegunn/fzf

    • justcallmelarry@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      1 year ago

      Nah thanks, up arrow hasnt failed me yet

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      I don’t believe in A’tuin. The world is obviously carried on the back of a badger.

      • MyNameIsRichard@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        But the turtle moves.

        • xmunk@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          And the honey badger mauls. My planet could beat up your planet in a fight.

    • Tekhne@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Have you used fish? The built-in fuzzy matching works pretty well for me. Wondering if there’s any reason to add atuin in. Sync seems like a negative to me more than a positive.

      • theherk@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I use fish with atuin but without sync. It is nice because I can search commands for a given workspace. For example the commands within a given git repository.

      • 🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yeah they are compatible. Sync can be disabled entirely or self hosted.

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    12
    ·
    1 year ago

    *tap*
    no
    *tap*
    no
    *tap*
    no

    Okay, NOW it’s getting personal!

  • thr0w4w4y2@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    me typing “sudo !!” instead of rewriting the shell command undoes this.

  • livingcoder@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Who is writing SQL in the terminal?

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      1 year ago

      MariaDB CLI about once in a blue moon when I have to clear some table that’s gotten borked.

    • Razzazzika@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Was thinking the same thing… now, searching through all my SQL scripts for the past year to find the same logic I want to replicate in another script, well that’s different.

      • livingcoder@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I save “template” SQL queries in a special directory so that I don’t have to google how to do specific things. It’s basically my own personal “examples” folder.

  • PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Me in the bash terminal

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 561 users / day
  • 1.3K users / week
  • 2.62K users / month
  • 7.55K users / 6 months
  • 1 local subscriber
  • 39.2K subscribers
  • 1.91K Posts
  • 37.1K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org