Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function pfind () {
- dir=$1 terminfo=$(echo -e "\033[0;36m") nc=$(echo -e "\033[0m")
- find "${dir:-.}" -type f | sed -ne 'h;s,[^/]\+$,'"$terminfo&$nc"',;p;s,.*,.* +a,;' \
- -ne 'y;^\t.*cyan+;terminfo-;;G;s;\n; ;e'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement