Commits

Takafumi Arakaki committed 7cdb976

ignore *.log in zaw-src-webmaterials.

  • Participants
  • Parent commits 1233f1d

Comments (0)

Files changed (1)

File zaw-webmaterials.zsh

 zmodload zsh/parameter
 
 function zaw-src-webmaterials() {
-    candidates=("${(ps:\n:)$(find $ZAW_WEBMATERIALS_DIR | sed -e '1d' -e s#$ZAW_WEBMATERIALS_DIR/##g -e 's#.*c4che.*##g' -e 's#.*pickle.*##g')}")
+    candidates=("${(ps:\n:)$(find $ZAW_WEBMATERIALS_DIR | sed -e '1d' -e s#$ZAW_WEBMATERIALS_DIR/##g -e 's#.*c4che.*##g' -e 's#.*pickle.*##g' -e 's#.*log$##g' | sort)}")
     actions=("zaw-callback-webmaterials-open" "zaw-callback-webmaterials-append-to-buffer")
     act_descriptions=("open webmaterials document" "append to edit buffer")
 }