From 026631ab818995ad480a9ea3e5a7ec243c645db1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 27 Oct 2003 11:17:29 +0000 Subject: zsh-users/6727 (Lloyd Zusman): improve _w3m --- Completion/Unix/Command/_w3mhistory | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Completion/Unix/Command/_w3mhistory (limited to 'Completion/Unix/Command/_w3mhistory') diff --git a/Completion/Unix/Command/_w3mhistory b/Completion/Unix/Command/_w3mhistory new file mode 100644 index 000000000..f0f944138 --- /dev/null +++ b/Completion/Unix/Command/_w3mhistory @@ -0,0 +1,10 @@ +#autoload + +local _w3mhistory + +if [[ -s ~/.w3m/history ]]; then + _w3mhistory=(${(f)"$(<$HOME/.w3m/history)"}) + compadd $_w3mhistory +fi + +_urls -f -- cgit 1.4.1