774c4eca6f166be554baf33ff48de9e90e98f16a
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059f4df72866b4ef649675b594120f453.
Diff
1diff --git a/plugins/pj/pj.plugin.zsh b/plugins/pj/pj.plugin.zsh
2index 84d0cfa65849fc07a5a668e270b4728b711c75bd..e36d49204f4e9f8a13c160cca601c37d2a190943 100644
3--- a/plugins/pj/pj.plugin.zsh
4+++ b/plugins/pj/pj.plugin.zsh
5@@ -14,11 +14,6 @@ pj () {
6 project=$*
7 fi
8
9- if [[ -z "$project" ]]; then
10- echo "You have to specify a project name."
11- return
12- fi
13-
14 for basedir ($PROJECT_PATHS); do
15 if [[ -d "$basedir/$project" ]]; then
16 $cmd "$basedir/$project"