home.social

#hstr — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hstr, aggregated by home.social.

fetched live
  1. @daschners Since I use #hstr to get commands back from the command history I often have not the need for an alias.

    for `tmux att` its actually
    - CTRL-R
    - a
    - CURSOR DOWN
    - ENTER

    This works as tmux att is the first match in the list.

    Either I use hstr or command completion. I seldom type the full commands. An alias I use when none of the both is sufficient or I want some default options for every execution.

    e.g.
    alias free='free -h'

    github.com/dvorka/hstr

  2. Sur un ordi précédent, j'avais une astuce que me permettait de commencer à taper une commande (ex: "git") puis en appuyant sur la flèche du haut, je remontais dans l'historique des commandes commençant par git ("git commit -m ..", etc.).

    C'était hyper pratique. Et ça fait une heure que je cherche, je ne trouve plus comment j'ai réussis à faire ça. Et je l'ai pas documenté!! :blobglare:

    Quelqu'un aurait une idée? Je pensais que c'était hstr mais non.

    #bash #hstr #history #terminal #cli #linux