diff options
author | Cody Hiar <codyfh@gmail.com> | 2019-05-03 09:49:40 -0600 |
---|---|---|
committer | Cody Hiar <codyfh@gmail.com> | 2019-05-03 09:49:40 -0600 |
commit | af7e1e0fea820d34c1809f3ac1f6e0cfa04bf858 (patch) | |
tree | 8d32810bddf85eab25e74016ad37bb045cce1b3e /scripts/path_search.sh | |
parent | e5e02738066d2976d86cb26ccd30f693abf0d6fe (diff) |
Clean up styles from 2.9 update and unused files
Diffstat (limited to 'scripts/path_search.sh')
-rwxr-xr-x | scripts/path_search.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/path_search.sh b/scripts/path_search.sh index c6ee062..d473607 100755 --- a/scripts/path_search.sh +++ b/scripts/path_search.sh @@ -4,7 +4,8 @@ # Author: Cody Hiar # Date: 2019-04-26 # -# Description: Search buffer for unix filepaths +# Description: Search buffer for unix paths in current tmux pane and send +# results to fzf to copy to clipboard URL=$(tmux capture-pane -pS -30000 | perl -wnl -e '/\S*(html|py|md|txt|pdf|js|ini|json)$/ and print $&' | awk '!x[$0]++' | fzf-tmux) if [[ -n "$URL" ]]; then |