diff options
Diffstat (limited to 'scripts/url_search.sh')
-rwxr-xr-x | scripts/url_search.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/url_search.sh b/scripts/url_search.sh index 497b09c..4320a83 100755 --- a/scripts/url_search.sh +++ b/scripts/url_search.sh @@ -4,7 +4,8 @@ # Author: Cody Hiar # Date: 2019-04-25 # -# Description: Search buffer for url results +# Description: Search tmux pane for urls then pass to fzf +# for copying to clipboard PANE_HISTORY="$(tmux capture-pane -J -p)" URL=$(echo "$PANE_HISTORY" | perl -wnl -e '/https?\:\/\/[^\s]+[\/\w]/ and print $&' | fzf-tmux) |