I’m so used to history completion

  • Xanthrax@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I’ve never heard anyone call auto-complete “pageup.” Where’d you learn that? I googled it, and it’s all hiring platforms. I’m curious.

    • lurch (he/him)@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 months ago

      it’s actually called history-search-backward . it’s configured in /etc/inputrc or ~/.inputrc . if you type the first few characters of a command in your shells history, then type page-up (that key on the keyboard; if configured for page-up, which is common), it searches the most recent command that started that way. press again for the second recent. i’m using it so much, i got used to the thought process “i type this often -> lets stop typing and use page-up”. of course it can’t work with passwords 😅 i should pay more attention to what i’m doing