6 lines
175 B
Plaintext
6 lines
175 B
Plaintext
![]() |
#!/bin/zsh
|
||
|
target=$(tmux capture-pane -e -p -J -S -20 \
|
||
|
| grep -oP "(https?://|www\.)[^\"<>') \e]*" \
|
||
|
| ifne fzf-tmux --tac)
|
||
|
if [[ -n $target ]]; then xdg-open $target; fi
|