Hacker GitHub

← All repos

pconerly/lc-listcommands-bash

View on GitHub ↗ ★ 33 Shell

A bash script for providing a "list commands previously used in this directory" command.

3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2013-04-17 · latest 2016-11-15

Mentions per year 3 mentions · busiest year 2016 (2)
20082026
  1. …I use it everyday. I think my most common usage is `lc | grep partialCommandIcCantQuiteRemember` https://github.com/pconerly/lc-listcommands-bash/
  2. …I've found that what I really want is context-specific command history,and this provides it. Linky: https://github.com/pconerly/lc-listcommands-bash
    comment by civilian · 2016-05-31 · in How and Why to Log Your Bash History
  3. …When you type `lc`, it will only give you commands that were executed in that directory. https://github.com/pconerly/lc-listcommands-bash I would love to get some up/down arrow ability for `lc`. Right now I do a lot of: $ lc | grep X
    comment by civilian · 2013-04-17 · in The most useful thing in bash