commit fbc4af2ea63102d4257a67de3b1f98abcd7a7732
parent be3254a291c54eb6b7ebf333650920175ad4afaa
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Tue, 28 Apr 2020 15:11:47 -0700
add clarity to history functins explanations
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/aliases/.aliases b/aliases/.aliases
@@ -153,7 +153,7 @@ wm_class() {
}
-# history search
+# search all history for `regex`
hs() {
if [ -n "$2"]; then
fc -n -l 0 | grep "$1" | tail -n 20
@@ -163,7 +163,7 @@ hs() {
}
-# repeat edit
+# edit `regex` command in $EDITOR, then run it
re() {
if [ -z "$1" ]; then
fc -e "$EDITOR"