#!/bin/zsh zmodload zsh/datetime session=${TMUX%%,*}.session/${TMUX_PANE#%} mv $session/url{,.$EPOCHREALTIME} print -r - "$*" >$session/url case $(<$session/app) in (w3m) tmux send-keys Q;; esac