diff options
| author | Zach DeCook <zach.decook@bettercarpeople.com> | 2023-07-17 14:33:36 -0400 |
|---|---|---|
| committer | Zach DeCook <zach.decook@bettercarpeople.com> | 2023-07-17 14:33:36 -0400 |
| commit | 48c42248ce0de1bcd0882c87287c4d71cf0ebe15 (patch) | |
| tree | 42defeb534a4bf893ca133763a6e0acd8d5a6b83 | |
| parent | 2ddd6f75781f427b6306527fbed15a42e893a93d (diff) | |
| download | dotfiles-48c42248ce0de1bcd0882c87287c4d71cf0ebe15.tar.gz | |
bins: Add TT (termtitle exec) and fin (find files named)
| -rwxr-xr-x | .local/bin/TT | 4 | ||||
| -rwxr-xr-x | .local/bin/fin | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.local/bin/TT b/.local/bin/TT new file mode 100755 index 0000000..4a404c5 --- /dev/null +++ b/.local/bin/TT @@ -0,0 +1,4 @@ +#!/bin/sh +t="$@" +echo -e '\033]2;'$t'\007' 1>&2 +"$@" diff --git a/.local/bin/fin b/.local/bin/fin new file mode 100755 index 0000000..86ffe12 --- /dev/null +++ b/.local/bin/fin @@ -0,0 +1,8 @@ +#!/bin/sh +# Save line number as variable +#"$(echo "$@" | tr .: _= | grep =)" + +#fin () { echo "$@" +set -- $(echo "$@" | sed 's/:[0-9]*//g' | xargs -n1 find . -not -path './vendor/*' -name | head -n 50) + +echo "$@" |
