genzshcomp version0.3 has been released

genzshcomp のバージョン0.3をリリースしました。 _describeに対応したリスト形式を出力できるようになりました。

$ genzshcomp --help | genzshcomp -f list
--help:show this help message and exit
-h:show this help message and exit
--version:show program's version number and exit
--output-format:output format type \[zsh|list\] (default: zsh)
-f:output format type \[zsh|list\] (default: zsh)

hgリポジトリにある補完関数(_pycui) を適当なところに配置して、 対応させたいコマンド名を追加します。 以下は、gunicorn、clonedigger、nosetestsを追加した時の差分です。

$ hg diff
diff -r abeaca8c3101 zshfunc/_pycui
--- a/zshfunc/_pycui    Sat Apr 07 22:34:59 2012 +0900
+++ b/zshfunc/_pycui    Sat Apr 07 22:40:50 2012 +0900
@@ -1,4 +1,4 @@
-#compdef genzshcomp EXAMPLE_COMMAND
+#compdef genzshcomp gunicorn clonedigger nosetests
 # your Python script command name add to compdef.

 _func() {

これで補完ができるようになります。 これでバージョンアップの際にいちいち補完関数を更新する必要がなくなりますね。

よいzshライフを。

dstatのZsh補完関数書いた

dstat が便利なようなので、zsh補完関数書いてみました。 プラグインにも適度に対応したつもり。

githubのリンク

煮詰まったらZsh補完関数書くといいよ。

Ubuntuのデスクトップをcinnamonに変えた

年明け恒例の環境見直しついでに。

http://image.hexacosa.net/images/container/000000000000044d_M.png

インストールは Gnome2スタイルのGnome-shell -Cinnamon- | Ubuntu通信 を参考に。

うーん、Ubuntu10.10、11.04頃が一番サクサク動いてたなー。もうなんかね。。

groongaのZsh補完関数を書きました

Pyresを使ってみた

pgmagick version0.4.2 has been released

Older Blog Posts