67

Developers :
Work as efficient as possible!

Also developers :
Pressing the arrow up ⬆️ in the terminal 90 times to find a command that could have been manually typed out in 1 sec

Comments
  • 14
    But I dont want to type out:

    tail -f /var/logs/thisProgram/thisFolder/logs/logsFromToday.log

    Who's got time for that when I know I used that not so long ago.... 10 minutes later 🤦‍♂️fuck it, I'll type it myself.
  • 5
    For me it's mostly about reproducibility when smashing that arrow up key: calling consistent commands for various versions of a script when testing
  • 10
    I said it before. And I will say it again:
    history | grep [whatever]

    😇
  • 1
    That's basically a description of me 😁
  • 11
    Y'all motherfuckers need reverse-i-search and fzf.
  • 5
    @C0D4 And then you inadvertently find the one with the typo in it and it doesn't work
    *Reeee*
  • 11
    I love zsh for that. You type the first few letters and arrowing up only shows you commands that start with that.

    Basically reverse-search on sterioids.
  • 1
  • 3
    Recently discovered ctrl-r, there's no coming back
  • 0
    @dmonkey Also:

    hg () {
    if [ $# -ne 1 ]
    then
    history -500
    else
    history -500 | ag "$1"
    fi
    }
  • 0
  • 0
    @LinusCDE thank you :)
  • 1
    also developers:
    spend 3h to make a script to type the command for all posiblr cases in 0.3 seconds
  • 1
    Ctrl+r will be your friend :-)
  • 0
    control-R search is much more efficient than typing long sensitive commands.
  • 0
    oh-my-zsh fzf autocomplete
  • 0
    Well, we all have our weakness and sometimes, I just don't feel like typing severals long lines
Add Comment