mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
Revert "Fix pj() function when no project has been specified"
This reverts commit 7d298a3059.
This commit is contained in:
1 parent
24ac1aa348
commit
774c4eca6f
1 file changed
-5
@@ -14,11 +14,6 @@ pj () {
|
||||
project=$*
|
||||
fi
|
||||
|
||||
if [[ -z "$project" ]]; then
|
||||
echo "You have to specify a project name."
|
||||
return
|
||||
fi
|
||||
|
||||
for basedir ($PROJECT_PATHS); do
|
||||
if [[ -d "$basedir/$project" ]]; then
|
||||
$cmd "$basedir/$project"
|
||||
|
||||
Reference in new issue
Block a user