Browse Source

Merge pull request #3323 from alfss/fix-pj

[~] fix plugin pj
Robby Russell 10 years ago
parent
commit
6a496d2cca
1 changed files with 2 additions and 2 deletions
  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