浏览代码

[~] fix plugin pj

https://github.com/robbyrussell/oh-my-zsh/commit/bce74975d055529cbd186782e2fd99e6da840460
Kravchuk S.V 9 年之前
父节点
当前提交
0c04470f63
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/pj/pj.plugin.zsh

+ 2 - 2
plugins/pj/pj.plugin.zsh

@@ -42,8 +42,8 @@ function _pj () {
     # might be possible to improve this using glob, without the basename trick
     typeset -a projects
     projects=($PROJECT_PATHS/*)
-    projects=$projects:t 
-    _arguments '*:file:($projects)'
+    projects=$projects:t
+    _arguments "*:file:($projects)"
 }
 
 compdef _pj pj