6 lines
		
	
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			208 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/zsh
 | |
| #dep:tmux ifne fzf-tmux xdg-open
 | |
| 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
 | 
