From 2aeb82c172dabc03fbb6df718a6eec4fe37e280e Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sun, 8 May 2022 05:31:42 -0700 Subject: [PATCH] instructions to use pick command --- updates.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/updates.txt b/updates.txt index 9fbb1c60..1ef2547e 100644 --- a/updates.txt +++ b/updates.txt @@ -10,6 +10,10 @@ replace every newline with a single space: tr '\n' ' ' add notation about using find to list only files in current directory and NOT subdirectory: find $dir -maxdepth 1 -type f +add notation about using pick to parse through output, and pipe that using xargs to another command: +example: +ls | pick | xargs bat # will give you a choice of the files from ls, pick displays a menu to "pick" the file, which then is parsed to xargs bat (invokes bat on choice from ls | pick) + Install pick: paru pick (choose 1)