«前の日記(2008-07-03(木)) 最新 次の日記(2008-07-05(土))» 編集

vdrめも



2008-07-04(金) さてさて [長年日記]

_ [comp] 続・zsh で w3m URI 補完が変

よくわからないので /usr/share/zsh/functions/Completion/Unix/_w3m をいろいろコメントアウトしたり削除したりしてみる。

    _alternative \
      'files:file:_files -g "*.x#html(-.)"' \
      'urls:URL:_urls' \
      'bookmarks:bookmarks:compadd -a bookmarks' \
      'history:history:compadd -a w3mhistory' && ret=0

この 'urls:URL:_urls' の行を削除したら、余計な .html がつかなくなった。この urls が原因? 場所ずらしてみた。

    _alternative \
      'files:file:_files -g "*.x#html(-.)"' \
      'bookmarks:bookmarks:compadd -a bookmarks' \
      'history:history:compadd -a w3mhistory' \
      'urls:URL:_urls' \
      && ret=0

こうしてみたところ、

% w3m http://example.com[TAB]

% w3m http://example.com/[TAB]

% w3m http://example.com/
http://example.com/file.html   http://example.com/index.html

になった。とりあえず strange w3m completion に投げてみた。

_ [comp] set envelope_from=yes

From: に書いたメールアドレスを envelope-from にするこの設定を ~/.mutt/muttrc に追加した。


2008年
7月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]

書いてる人: dai

Generated by 偽FFXI-Prof v0.1

パッチ等(無保証)

Tracking:

最近の注目 URI [RDF]