summaryrefslogtreecommitdiff
path: root/plugins/pj/pj.plugin.zsh
AgeCommit message (Collapse)Author
2016-08-21Revert "Fix pj() function when no project has been specified"Marc Cornellà
This reverts commit 7d298a3059f4df72866b4ef649675b594120f453.
2016-08-16Fix shwordsplit bug when a basedir contains spacesMarc Cornellà
The `shwordsplit` option affects all variables and we only need to split the `$EDITOR` variable. Because of that, using `${=spec}` is a much better alternative. More info at http://zsh.sourceforge.net/Doc/Release/Expansion.html#index-SH_005fWORD_005fSPLIT_002c-toggle
2016-08-16Fix pj() function when no project has been specifiedMarc Cornellà
2016-08-16Refactor pj functionMarc Cornellà
- Use `emulate -L zsh` to make all variables local. - Use `shwordsplit` to interpret `$cmd` spaces correctly. - Rename `$project` and `$file` variables to the more appropriate `$basedir` and `$project`.
2016-08-16Fix _pj completion functionMarc Cornellà
- `$PROJECT_PATHS/*` wasn't working correctly. You have to iterate over its elements in order to use globbing with it. - The `$projects:t` line wasn't necessary if we used `compadd`. - `compadd` better supports destructuring an array with spaces in some of its elements.
2016-08-16Clean up comments in pj plugin file and reorganiseMarc Cornellà
2014-11-16[~] fix plugin pjKravchuk S.V
https://github.com/robbyrussell/oh-my-zsh/commit/bce74975d055529cbd186782e2fd99e6da840460
2014-05-28drop the foreach, make it even shorter. thanks Marc Cornellà!Frank Louwers
2013-02-13[pj-plugin] avoid using basename. migth be (a lot?) fasterFrank Louwers
2013-02-13[pj-plugin] delete ugly ls -l | awk print $9 thing to use something not ↵Frank Louwers
depending on date format + add support for projects with spaces in them
2013-02-05added pj.pluginToon Claes