Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. How many times will you hit the up arrow before you give up and type a command?

How many times will you hit the up arrow before you give up and type a command?

Scheduled Pinned Locked Moved Uncategorized
linux
25 Posts 21 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Zak :1password:Z Zak :1password:

    How many times will you hit the up arrow before you give up and type a command?

    #Linux

    Herz++H This user is from outside of this forum
    Herz++H This user is from outside of this forum
    Herz++
    wrote last edited by
    #5

    @zak I barely ever need that because fish has contextual history per folder.

    1 Reply Last reply
    0
    • Zak :1password:Z Zak :1password:

      How many times will you hit the up arrow before you give up and type a command?

      #Linux

      arutazA This user is from outside of this forum
      arutazA This user is from outside of this forum
      arutaz
      wrote last edited by
      #6
      @zak Hehe. Maybe 10-15 πŸ™‚
      1 Reply Last reply
      0
      • Zak :1password:Z Zak :1password:

        How many times will you hit the up arrow before you give up and type a command?

        #Linux

        Pseudonymous :antiverified:V This user is from outside of this forum
        Pseudonymous :antiverified:V This user is from outside of this forum
        Pseudonymous :antiverified:
        wrote last edited by
        #7

        @zak

        I know what I recently typed and hit up if I know where the command I need will be in the log. Am I weird?

        1 Reply Last reply
        0
        • Zak :1password:Z Zak :1password:

          How many times will you hit the up arrow before you give up and type a command?

          #Linux

          BillS This user is from outside of this forum
          BillS This user is from outside of this forum
          Bill
          wrote last edited by
          #8

          @zak If I hold it down to scroll, does that count as "one"?

          1 Reply Last reply
          0
          • Zak :1password:Z Zak :1password:

            How many times will you hit the up arrow before you give up and type a command?

            #Linux

            SkalliS This user is from outside of this forum
            SkalliS This user is from outside of this forum
            Skalli
            wrote last edited by
            #9

            @zak

            usually one or two times...

            type the first few letters of the command and than UP ...

            1 Reply Last reply
            0
            • Zak :1password:Z Zak :1password:

              How many times will you hit the up arrow before you give up and type a command?

              #Linux

              stroz (he/him)S This user is from outside of this forum
              stroz (he/him)S This user is from outside of this forum
              stroz (he/him)
              wrote last edited by
              #10

              @zak Generally, it's close to 100 times. If I didn't get it, then I cat ~/.zsh_history | grep <thing>

              LuyinL 1 Reply Last reply
              0
              • Zak :1password:Z Zak :1password:

                How many times will you hit the up arrow before you give up and type a command?

                #Linux

                ravenlb :agender_flag:R This user is from outside of this forum
                ravenlb :agender_flag:R This user is from outside of this forum
                ravenlb :agender_flag:
                wrote last edited by
                #11

                @zak until the arrow doesn't work any more

                1 Reply Last reply
                0
                • Zak :1password:Z Zak :1password:

                  How many times will you hit the up arrow before you give up and type a command?

                  #Linux

                  CaliC This user is from outside of this forum
                  CaliC This user is from outside of this forum
                  Cali
                  wrote last edited by
                  #12

                  @zak history | grep

                  1 Reply Last reply
                  0
                  • Zak :1password:Z Zak :1password:

                    How many times will you hit the up arrow before you give up and type a command?

                    #Linux

                    Adam CaudillA This user is from outside of this forum
                    Adam CaudillA This user is from outside of this forum
                    Adam Caudill
                    wrote last edited by
                    #13

                    @zak Thanks for posting this - after several years of using this particular MBP, I finally got around to enabling per-directory history in zsh.

                    This exact thing has been driving me nuts lately, but I hadn't realised how annoying it was until I started to type a reply.

                    Zak :1password:Z 1 Reply Last reply
                    0
                    • Adam CaudillA Adam Caudill

                      @zak Thanks for posting this - after several years of using this particular MBP, I finally got around to enabling per-directory history in zsh.

                      This exact thing has been driving me nuts lately, but I hadn't realised how annoying it was until I started to type a reply.

                      Zak :1password:Z This user is from outside of this forum
                      Zak :1password:Z This user is from outside of this forum
                      Zak :1password:
                      wrote last edited by
                      #14

                      @adam_caudill This is the smart thing to do for sure. I need to get around to doing this, too.

                      Adam CaudillA 1 Reply Last reply
                      0
                      • stroz (he/him)S stroz (he/him)

                        @zak Generally, it's close to 100 times. If I didn't get it, then I cat ~/.zsh_history | grep <thing>

                        LuyinL This user is from outside of this forum
                        LuyinL This user is from outside of this forum
                        Luyin
                        wrote last edited by
                        #15

                        @zak @stroz useless use of cat? πŸ˜„ (grep pattern file is the default, you don't have to pipe into it)

                        stroz (he/him)S 1 Reply Last reply
                        0
                        • Zak :1password:Z Zak :1password:

                          How many times will you hit the up arrow before you give up and type a command?

                          #Linux

                          Victoria :neocat_flag_trans::spinny_cat_lesbian:T This user is from outside of this forum
                          Victoria :neocat_flag_trans::spinny_cat_lesbian:T This user is from outside of this forum
                          Victoria :neocat_flag_trans::spinny_cat_lesbian:
                          wrote last edited by
                          #16

                          @zak@infosec.exchange i usually just type the command, although admittedly i dont use terminal much these days

                          1 Reply Last reply
                          0
                          • LuyinL Luyin

                            @zak @stroz useless use of cat? πŸ˜„ (grep pattern file is the default, you don't have to pipe into it)

                            stroz (he/him)S This user is from outside of this forum
                            stroz (he/him)S This user is from outside of this forum
                            stroz (he/him)
                            wrote last edited by
                            #17

                            @luyin @zak oh 100% absolutely

                            This is one of those command line things that I started doing decades ago that it's just muscle memory, and I could be WAY more efficient if I trained myself out if it πŸ˜…

                            1 Reply Last reply
                            0
                            • Zak :1password:Z Zak :1password:

                              @adam_caudill This is the smart thing to do for sure. I need to get around to doing this, too.

                              Adam CaudillA This user is from outside of this forum
                              Adam CaudillA This user is from outside of this forum
                              Adam Caudill
                              wrote last edited by
                              #18

                              @zak Luckily, I use oh-my-zsh, so enabling it was just adding the name of a plugin to the .zshrc - less than a minute from start to finish. That'll pay for itself within a day or so.

                              1 Reply Last reply
                              0
                              • Zak :1password:Z Zak :1password:

                                How many times will you hit the up arrow before you give up and type a command?

                                #Linux

                                jasonkarnsJ This user is from outside of this forum
                                jasonkarnsJ This user is from outside of this forum
                                jasonkarns
                                wrote last edited by
                                #19

                                @zak just once more

                                1 Reply Last reply
                                0
                                • Zak :1password:Z Zak :1password:

                                  How many times will you hit the up arrow before you give up and type a command?

                                  #Linux

                                  AvocaA This user is from outside of this forum
                                  AvocaA This user is from outside of this forum
                                  Avoca
                                  wrote last edited by
                                  #20

                                  @zak

                                  As many as it takes.

                                  Shame on anyone who capitulates for the easy way out.

                                  1 Reply Last reply
                                  0
                                  • Zak :1password:Z Zak :1password:

                                    How many times will you hit the up arrow before you give up and type a command?

                                    #Linux

                                    RobR This user is from outside of this forum
                                    RobR This user is from outside of this forum
                                    Rob
                                    wrote last edited by
                                    #21

                                    @zak Once…

                                    And then I remember that ^R using `fzf` is so much more effective!

                                    https://github.com/junegunn/fzf

                                    1 Reply Last reply
                                    0
                                    • Zak :1password:Z Zak :1password:

                                      How many times will you hit the up arrow before you give up and type a command?

                                      #Linux

                                      Nick Zolotko :imperialcog:Z This user is from outside of this forum
                                      Nick Zolotko :imperialcog:Z This user is from outside of this forum
                                      Nick Zolotko :imperialcog:
                                      wrote last edited by
                                      #22

                                      @zak 10?

                                      Nick Zolotko :imperialcog:Z 1 Reply Last reply
                                      0
                                      • Nick Zolotko :imperialcog:Z Nick Zolotko :imperialcog:

                                        @zak 10?

                                        Nick Zolotko :imperialcog:Z This user is from outside of this forum
                                        Nick Zolotko :imperialcog:Z This user is from outside of this forum
                                        Nick Zolotko :imperialcog:
                                        wrote last edited by
                                        #23

                                        @zak I should add that with zsh I use auto suggestion and tab completion for just about anything. Makes it faster than up arrow 100x

                                        1 Reply Last reply
                                        0
                                        • Zak :1password:Z Zak :1password:

                                          How many times will you hit the up arrow before you give up and type a command?

                                          #Linux

                                          Raison d'Γ‰tatD This user is from outside of this forum
                                          Raison d'Γ‰tatD This user is from outside of this forum
                                          Raison d'Γ‰tat
                                          wrote last edited by
                                          #24
                                          Maybe 3-4.

                                          Its Ctrl-R I have trouble quitting!
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups