dot

packages and services management
Log | Files | Refs | README

commit da2194ecb74b6f0836d19ad4b25973fe197a8de1
parent 170a74ab6649db62457420886121866ee37d0304
Author: Josuah Demangeon <mail@josuah.net>
Date:   Thu, 20 Apr 2017 02:13:24 +0200

updated io-* prompts

Diffstat:
Mbin/io-edit | 2+-
Mbin/io-grep | 2+-
Mbin/io-mblaze | 2+-
Mbin/io-search | 2+-
Mbin/io-setfont | 2+-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bin/io-edit b/bin/io-edit @@ -12,7 +12,7 @@ path() printf '# All files\n' find "$HOME" -type f ! -path '*/.git/*' - } | iomenu -l 255 -s | tee -a "$CACHE/io/files" + } | iomenu -l 255 -s -p edit | tee -a "$CACHE/io/files" } diff --git a/bin/io-grep b/bin/io-grep @@ -2,7 +2,7 @@ # enter a regex printf '\033[30;47m regex \033[m ' -IFS='' read -r regex +IFS='' read -r grep find $HOME -type d ! -path '*/.git/*' | iomenu -p path | xargs -I % find % -type f ! -path '*/.git/*' | while IFS='' read -r file diff --git a/bin/io-mblaze b/bin/io-mblaze @@ -7,7 +7,7 @@ dirname "$MAIL" | xargs -I % find % -type d -mindepth 1 ! -name cur ! -name new ! -name tmp | # pick one from it, generate a list of mails -iomenu -l 255 -p mail | xargs mdirs | mlist | msort -r -d | mseq -S | +iomenu -l 255 -p mblaze | xargs mdirs | mlist | msort -r -d | mseq -S | # show it in a pager mscan -f '%6n %D %u %t%2i%120S' | less -S diff --git a/bin/io-search b/bin/io-search @@ -1,6 +1,6 @@ # interactively search string in code -find "$HOME" -type d ! -path '*/.git/*' | iomenu -p path | +find "$HOME" -type d ! -path '*/.git/*' | iomenu -p search | xargs -I % find % -type f ! -path '*/.git/*' | xargs -n 1 awk ' FNR == 1 { printf("# %s\n", FILENAME); } diff --git a/bin/io-setfont b/bin/io-setfont @@ -1,4 +1,4 @@ -# set tty font using iomenu -l 255 +# set tty font using iomenu -l 255 -p setfont setfont "$( xargs -I {} find {} -type f << EOF | sort | iomenu -l 255 -p setfont